Browse Source

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

Originally committed as revision 12161 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.5
Michael Niedermayer 17 years ago
parent
commit
bdd745da60
1 changed files with 0 additions and 8 deletions
  1. +0
    -8
      libavcodec/mpegvideo_parser.c

+ 0
- 8
libavcodec/mpegvideo_parser.c View File

@@ -103,14 +103,6 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s,
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;
}


Loading…
Cancel
Save