changeset 174:7d56e9f83fdb libavformat

Write correct MPEG2-PS streams patch by (mru at users dot sourceforge dot net (Mns Rullgrd))
author michaelni
date Tue, 15 Jul 2003 22:15:37 +0000
parents 38f64fabb24b
children b6fa8a3b78c6
files mpeg.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mpeg.c	Tue Jul 15 19:41:40 2003 +0000
+++ b/mpeg.c	Tue Jul 15 22:15:37 2003 +0000
@@ -75,7 +75,7 @@
 
     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);
     }