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 0f1d69d02ff9c807cefafbf0c6230819144d2298..7f2c89cb2541b9d11b75e67a77ed3d39aeed9436 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 = {