changeset 6382:ca7cacd556ff libavcodec

revert 12156 Log: Make timestamp interpolation work with mpeg2 field pictures. Cleaner/simpler solutions are welcome. ---- A IMHO cleaner solution has been implemented.
author michael
date Wed, 20 Feb 2008 20:24:38 +0000
parents 83a04925520d
children 7ba06222bda7
files avcodec.h mpegvideo_parser.c
diffstat 2 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/avcodec.h	Wed Feb 20 19:48:25 2008 +0000
+++ b/avcodec.h	Wed Feb 20 20:24:38 2008 +0000
@@ -2788,7 +2788,6 @@
     /* video info */
     int pict_type; /* XXX: Put it back in AVCodecContext. */
     int repeat_pict; /* XXX: Put it back in AVCodecContext. */
-    int parity;
     int64_t pts;     /* pts of the current frame */
     int64_t dts;     /* dts of the current frame */
 
--- a/mpegvideo_parser.c	Wed Feb 20 19:48:25 2008 +0000
+++ b/mpegvideo_parser.c	Wed Feb 20 20:24:38 2008 +0000
@@ -36,7 +36,6 @@
     int horiz_size_ext, vert_size_ext, bit_rate_ext;
 //FIXME replace the crap with get_bits()
     s->repeat_pict = 0;
-    s->parity = 0;
     buf_end = buf + buf_size;
     while (buf < buf_end) {
         start_code= -1;