Commit 8683e4a0 authored by Måns Rullgård's avatar Måns Rullgård Committed by Michael Niedermayer

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
parent e11530e7
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment