[SCM] libav/experimental: Mpeg start codes patch by ("Dmitry Borisov" <jbors at mail dot ru>)

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 15:40:04 UTC 2013


The following commit has been merged in the experimental branch:
commit df70de1f61c844f3ceb34abe5b424d9acd50d0f2
Author: Dmitry Borisov <jbors at mail.ru>
Date:   Fri Apr 23 21:02:01 2004 +0000

    Mpeg start codes patch by ("Dmitry Borisov" <jbors at mail dot ru>)
    
    Originally committed as revision 3046 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavformat/mpeg.c b/libavformat/mpeg.c
index 05957e6..6112d75 100644
--- a/libavformat/mpeg.c
+++ b/libavformat/mpeg.c
@@ -1178,6 +1178,9 @@ static int mpegps_read_pes_header(AVFormatContext *s,
             header_len--;
         }
     }
+    else if( c!= 0xf )
+        goto redo;
+
     if (startcode == 0x1bd) {
         if (len < 1)
             goto redo;

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list