changeset 7154:a9ed669e8cd1 libavcodec

Seek the file forwards instead of backwards when sync is lost.
author ramiro
date Fri, 27 Jun 2008 21:36:01 +0000
parents a702d2a5892f
children 83e7ee1790a8
files mlp_parser.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mlp_parser.c	Fri Jun 27 18:53:41 2008 +0000
+++ b/mlp_parser.c	Fri Jun 27 21:36:01 2008 +0000
@@ -295,7 +295,7 @@
 
 lost_sync:
     mp->in_sync = 0;
-    return -1;
+    return 1;
 }
 
 AVCodecParser mlp_parser = {