summaryrefslogtreecommitdiff
path: root/libavformat/yuv4mpeg.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2003-10-20 10:33:13 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-10-20 10:33:13 +0000
commit9dad924e22dc0e1a09013b588b43051b5baf428d (patch)
tree2176caeb0764fcca678c7480cbcc6c0ed85e2119 /libavformat/yuv4mpeg.c
parentfa384dcc8100ef973a702b9e5bc3236571c97750 (diff)
bottom_field_first -> top_field_first
Originally committed as revision 2402 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/yuv4mpeg.c')
-rw-r--r--libavformat/yuv4mpeg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/yuv4mpeg.c b/libavformat/yuv4mpeg.c
index c6e062051b..e9f08c8343 100644
--- a/libavformat/yuv4mpeg.c
+++ b/libavformat/yuv4mpeg.c
@@ -54,7 +54,7 @@ static int yuv4_generate_header(AVFormatContext *s, char* buf)
inter = 'p'; /* progressive is the default */
if (st->codec.coded_frame && st->codec.coded_frame->interlaced_frame) {
- inter = st->codec.coded_frame->bottom_field_first ? 'b' : 't';
+ inter = st->codec.coded_frame->top_field_first ? 't' : 'b';
}
/* construct stream header, if this is the first frame */