Originally committed as revision 4053 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Michael Niedermayer 20 years ago
parent eb8393a8c7
commit 8ca5d3bbf4
  1. 2
      libavcodec/parser.c

@ -330,7 +330,7 @@ static void mpegvideo_extract_headers(AVCodecParserContext *s,
frame_rate_ext_n = (buf[5] >> 5) & 3;
frame_rate_ext_d = (buf[5] & 0x1f);
pc->progressive_sequence = buf[1] & (1 << 3);
avctx->has_b_frames= buf[5] >> 7;
avctx->has_b_frames= !(buf[5] >> 7);
pc->width |=(horiz_size_ext << 12);
pc->height |=( vert_size_ext << 12);

Loading…
Cancel
Save