changeset 6381:83a04925520d libavcodec

Forgot this, which is needed for merging field pics too.
author michael
date Wed, 20 Feb 2008 19:48:25 +0000
parents 464938b9c2b0
children ca7cacd556ff
files mpegvideo_parser.c
diffstat 1 files changed, 0 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- a/mpegvideo_parser.c	Wed Feb 20 19:45:38 2008 +0000
+++ b/mpegvideo_parser.c	Wed Feb 20 19:48:25 2008 +0000
@@ -103,14 +103,6 @@
                                 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;
                 }