mirror of https://git.ffmpeg.org/ffmpeg.git
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:
parent
e11530e780
commit
8683e4a0c0
|
@ -75,7 +75,7 @@ static int put_pack_header(AVFormatContext *ctx,
|
||||||
|
|
||||||
put_bits(&pb, 32, PACK_START_CODE);
|
put_bits(&pb, 32, PACK_START_CODE);
|
||||||
if (s->is_mpeg2) {
|
if (s->is_mpeg2) {
|
||||||
put_bits(&pb, 2, 0x2);
|
put_bits(&pb, 2, 0x1);
|
||||||
} else {
|
} else {
|
||||||
put_bits(&pb, 4, 0x2);
|
put_bits(&pb, 4, 0x2);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue