Mercurial > libavformat.hg
changeset 3520:2b1a7c3650c4 libavformat
Do not completely bail out for invalid params, just skip the current sector.
author | michael |
---|---|
date | Thu, 26 Jun 2008 23:00:00 +0000 |
parents | 55545ebc90eb |
children | b068f51d1c6e |
files | psxstr.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/psxstr.c Thu Jun 26 22:55:39 2008 +0000 +++ b/psxstr.c Thu Jun 26 23:00:00 2008 +0000 @@ -151,7 +151,7 @@ && current_sector < sector_count && sector_count*VIDEO_DATA_CHUNK_SIZE >=frame_size)){ av_log(s, AV_LOG_ERROR, "Invalid parameters %d %d %d\n", current_sector, sector_count, frame_size); - return AVERROR_INVALIDDATA; + break; } if(str->channels[channel].video_stream_index < 0){