Mercurial > libavcodec.hg
comparison mlp_parser.c @ 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 | 186eb61a9860 |
children | ae78650d4ac8 |
comparison
equal
deleted
inserted
replaced
7153:a702d2a5892f | 7154:a9ed669e8cd1 |
---|---|
293 | 293 |
294 return next; | 294 return next; |
295 | 295 |
296 lost_sync: | 296 lost_sync: |
297 mp->in_sync = 0; | 297 mp->in_sync = 0; |
298 return -1; | 298 return 1; |
299 } | 299 } |
300 | 300 |
301 AVCodecParser mlp_parser = { | 301 AVCodecParser mlp_parser = { |
302 { CODEC_ID_MLP }, | 302 { CODEC_ID_MLP }, |
303 sizeof(MLPParseContext), | 303 sizeof(MLPParseContext), |