# HG changeset patch # User michael # Date 1214521200 0 # Node ID 2b1a7c3650c464282c503f7dc0f014d06351fa86 # Parent 55545ebc90eb40e5dfc20bcb7f6fc7f15d903e07 Do not completely bail out for invalid params, just skip the current sector. diff -r 55545ebc90eb -r 2b1a7c3650c4 psxstr.c --- 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){