Write correct MPEG2-PS streams patch by (mru at users dot sourceforge dot net (Måns Rullgård))

Originally committed as revision 2048 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Måns Rullgård 22 years ago committed by Michael Niedermayer
parent e11530e780
commit 8683e4a0c0
  1. 2
      libavformat/mpeg.c

@ -75,7 +75,7 @@ static int put_pack_header(AVFormatContext *ctx,
put_bits(&pb, 32, PACK_START_CODE);
if (s->is_mpeg2) {
put_bits(&pb, 2, 0x2);
put_bits(&pb, 2, 0x1);
} else {
put_bits(&pb, 4, 0x2);
}

Loading…
Cancel
Save