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
This commit is contained in:
Måns Rullgård 2003-07-15 22:15:37 +00:00 committed by Michael Niedermayer
parent e11530e780
commit 8683e4a0c0

View File

@ -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);
}