Commit 19fdc52d authored by michael's avatar michael

Do not completely bail out for invalid params, just skip the current sector.


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@14002 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 6b105df9
......@@ -151,7 +151,7 @@ static int str_read_packet(AVFormatContext *s,
&& 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){
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment