summaryrefslogtreecommitdiff
path: root/libavcodec/mlp_parser.c
diff options
context:
space:
mode:
authorRamiro Polla <ramiro.polla@gmail.com>2008-06-27 21:36:01 +0000
committerRamiro Polla <ramiro.polla@gmail.com>2008-06-27 21:36:01 +0000
commitae10e1fd3d14074030732efccb3285b1259ecdd7 (patch)
treeacba65dfc0d0b1cfc2ec594447aca11d30a11a31 /libavcodec/mlp_parser.c
parentbc4c3a55f5a4d41e2a5b65ed10d11a989c66903d (diff)
Seek the file forwards instead of backwards when sync is lost.
Originally committed as revision 14014 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/mlp_parser.c')
-rw-r--r--libavcodec/mlp_parser.c2
1 files changed, 1 insertions, 1 deletions
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 = {