From 8683e4a0c0445e7dd405a9a1d598437941cfb394 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?M=C3=A5ns=20Rullg=C3=A5rd?= Date: Tue, 15 Jul 2003 22:15:37 +0000 Subject: [PATCH] =?UTF-8?q?Write=20correct=20MPEG2-PS=20streams=20patch=20?= =?UTF-8?q?by=20(mru=20at=20users=20dot=20sourceforge=20dot=20net=20(M?= =?UTF-8?q?=C3=A5ns=20Rullg=C3=A5rd))?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Originally committed as revision 2048 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/mpeg.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c index ad87178aa5..68efa86c5e 100644 --- a/libavformat/mpeg.c +++ b/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); }