bottom_field_first -> top_field_first

Originally committed as revision 2402 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
Michael Niedermayer
2003-10-20 10:33:13 +00:00
parent fa384dcc81
commit 9dad924e22
3 changed files with 6 additions and 6 deletions

View File

@@ -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 */