changeset 1547:0183874861fd libavcodec

bottom_field_first -> top_field_first
author michael
date Mon, 20 Oct 2003 10:33:13 +0000
parents 5d06823e2ee9
children dd544554ed42
files avcodec.h dv.c
diffstat 2 files changed, 5 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Mon Oct 20 09:52:02 2003 +0000
+++ b/avcodec.h	Mon Oct 20 10:33:13 2003 +0000
@@ -15,7 +15,7 @@
 
 #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 @@
     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.\
--- a/dv.c	Mon Oct 20 09:52:02 2003 +0000
+++ b/dv.c	Mon Oct 20 10:33:13 2003 +0000
@@ -855,7 +855,7 @@
         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;