[FFmpeg-cvslog] r12161 - trunk/libavcodec/mpegvideo_parser.c

michael subversion
Wed Feb 20 20:48:25 CET 2008


Author: michael
Date: Wed Feb 20 20:48:25 2008
New Revision: 12161

Log:
Forgot this, which is needed for merging field pics too.


Modified:
   trunk/libavcodec/mpegvideo_parser.c

Modified: trunk/libavcodec/mpegvideo_parser.c
==============================================================================
--- trunk/libavcodec/mpegvideo_parser.c	(original)
+++ trunk/libavcodec/mpegvideo_parser.c	Wed Feb 20 20:48:25 2008
@@ -103,14 +103,6 @@ static void mpegvideo_extract_headers(AV
                                 s->repeat_pict = 1;
                             }
                         }
-
-                        /* the packet only represents half a frame
-                           XXX,FIXME maybe find a different solution */
-                        if(picture_structure != 3){
-                            s->repeat_pict = -1;
-                            s->parity = picture_structure-1;
-                        }else
-                            s->parity = !top_field_first;
                     }
                     break;
                 }




More information about the ffmpeg-cvslog mailing list