diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2003-10-20 10:33:13 +0000 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2003-10-20 10:33:13 +0000 |
commit | 9dad924e22dc0e1a09013b588b43051b5baf428d (patch) | |
tree | 2176caeb0764fcca678c7480cbcc6c0ed85e2119 /libavcodec | |
parent | fa384dcc8100ef973a702b9e5bc3236571c97750 (diff) | |
download | ffmpeg-9dad924e22dc0e1a09013b588b43051b5baf428d.tar.gz |
bottom_field_first -> top_field_first
Originally committed as revision 2402 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/avcodec.h | 8 | ||||
-rw-r--r-- | libavcodec/dv.c | 2 |
2 files changed, 5 insertions, 5 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index 542200f7a1..f6c052a04b 100644 --- a/libavcodec/avcodec.h +++ b/libavcodec/avcodec.h @@ -15,7 +15,7 @@ extern "C" { #define FFMPEG_VERSION_INT 0x000408 #define FFMPEG_VERSION "0.4.8" -#define LIBAVCODEC_BUILD 4685 +#define LIBAVCODEC_BUILD 4686 #define LIBAVCODEC_VERSION_INT FFMPEG_VERSION_INT #define LIBAVCODEC_VERSION FFMPEG_VERSION @@ -436,11 +436,11 @@ typedef struct AVPanScan{ int interlaced_frame;\ \ /**\ - * if the content is interlaced, is bottom field displayed first.\ + * if the content is interlaced, is top field displayed first.\ * - encoding: set by user\ - * - decoding: set by lavc (default 0)\ + * - decoding: set by lavc\ */\ - int bottom_field_first;\ + int top_field_first;\ \ /**\ * Pan scan.\ diff --git a/libavcodec/dv.c b/libavcodec/dv.c index 419d2de524..c969e937ba 100644 --- a/libavcodec/dv.c +++ b/libavcodec/dv.c @@ -855,7 +855,7 @@ static int dvvideo_decode_frame(AVCodecContext *avctx, return -1; } s->picture.interlaced_frame = 1; - s->picture.bottom_field_first = 1; + s->picture.top_field_first = 0; /* for each DIF segment */ mb_pos_ptr = s->sys->video_place; |