X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=libavcodec%2Frawdec.c;h=611178fc0d989fed54534aac42ea63bfda613290;hb=4e01566941b53947110226cc7c451275003a3f2d;hp=2a5f5a3ae0d3db0df16bdb0628130b810ebd3dac;hpb=f6e5b17abb44203bf830dda93d4927ce9a1d2675;p=ffmpeg diff --git a/libavcodec/rawdec.c b/libavcodec/rawdec.c index 2a5f5a3ae0d..611178fc0d9 100644 --- a/libavcodec/rawdec.c +++ b/libavcodec/rawdec.c @@ -52,7 +52,7 @@ typedef struct RawVideoContext { } RawVideoContext; static const AVOption options[]={ -{"top", "top field first", offsetof(RawVideoContext, tff), AV_OPT_TYPE_INT, {.i64 = -1}, -1, 1, AV_OPT_FLAG_DECODING_PARAM|AV_OPT_FLAG_VIDEO_PARAM}, +{"top", "top field first", offsetof(RawVideoContext, tff), AV_OPT_TYPE_BOOL, {.i64 = -1}, -1, 1, AV_OPT_FLAG_DECODING_PARAM|AV_OPT_FLAG_VIDEO_PARAM}, {NULL} };