Seek the file forwards instead of backwards when sync is lost.
authorRamiro Polla <ramiro.polla@gmail.com>
Fri, 27 Jun 2008 21:36:01 +0000 (21:36 +0000)
committerRamiro Polla <ramiro.polla@gmail.com>
Fri, 27 Jun 2008 21:36:01 +0000 (21:36 +0000)
Originally committed as revision 14014 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/mlp_parser.c

index 0f1d69d..7f2c89c 100644 (file)
@@ -295,7 +295,7 @@ static int mlp_parse(AVCodecParserContext *s,
 
 lost_sync:
     mp->in_sync = 0;
-    return -1;
+    return 1;
 }
 
 AVCodecParser mlp_parser = {