mirror of
				https://github.com/nyanmisaka/ffmpeg-rockchip.git
				synced 2025-11-01 04:53:04 +08:00 
			
		
		
		
	Do not completely bail out for invalid params, just skip the current sector.
Originally committed as revision 14002 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		| @@ -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){ | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Michael Niedermayer
					Michael Niedermayer