From ae10e1fd3d14074030732efccb3285b1259ecdd7 Mon Sep 17 00:00:00 2001 From: Ramiro Polla Date: Fri, 27 Jun 2008 21:36:01 +0000 Subject: [PATCH] Seek the file forwards instead of backwards when sync is lost. Originally committed as revision 14014 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/mlp_parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavcodec/mlp_parser.c b/libavcodec/mlp_parser.c index 0f1d69d02f..7f2c89cb25 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 = {