aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2003-07-15 22:15:37 +0000
committerMichael Niedermayer <michaelni@gmx.at>2003-07-15 22:15:37 +0000
commit8683e4a0c0445e7dd405a9a1d598437941cfb394 (patch)
tree1a630b3688919a83eb5627b089511134b78ac2aa
parente11530e780e6a6dbd33b8b83f1ba6dfc6d68bbd0 (diff)
downloadffmpeg-8683e4a0c0445e7dd405a9a1d598437941cfb394.tar.gz
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
-rw-r--r--libavformat/mpeg.c2
1 files changed, 1 insertions, 1 deletions
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);
}