[SCM] libav/experimental: Seek the file forwards instead of backwards when sync is lost.

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 16:24:29 UTC 2013


The following commit has been merged in the experimental branch:
commit ae10e1fd3d14074030732efccb3285b1259ecdd7
Author: Ramiro Polla <ramiro.polla at gmail.com>
Date:   Fri Jun 27 21:36:01 2008 +0000

    Seek the file forwards instead of backwards when sync is lost.
    
    Originally committed as revision 14014 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c
index 0f1d69d..7f2c89c 100644
--- a/libavcodec/mlp_parser.c
+++ b/libavcodec/mlp_parser.c
@@ -295,7 +295,7 @@ static int mlp_parse(AVCodecParserContext *s,
 
 lost_sync:
     mp->in_sync = 0;
-    return -1;
+    return 1;
 }
 
 AVCodecParser mlp_parser = {

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list