avformat/asfdec_f: fix need_parsing flag for codec mpeg4
AVSTREAM_PARSE_FULL_ONCE is only implemented for H.264. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
This commit is contained in:
		
							parent
							
								
									3eb7968ed9
								
							
						
					
					
						commit
						d4b989c94d
					
				| @ -460,7 +460,7 @@ static int asf_read_stream_properties(AVFormatContext *s, int64_t size) | ||||
|         if (st->codecpar->codec_id == AV_CODEC_ID_H264) | ||||
|             sti->need_parsing = AVSTREAM_PARSE_FULL_ONCE; | ||||
|         if (st->codecpar->codec_id == AV_CODEC_ID_MPEG4) | ||||
|             sti->need_parsing = AVSTREAM_PARSE_FULL_ONCE; | ||||
|             sti->need_parsing = AVSTREAM_PARSE_FULL; | ||||
|         if (st->codecpar->codec_id == AV_CODEC_ID_HEVC) | ||||
|             sti->need_parsing = AVSTREAM_PARSE_FULL; | ||||
|     } | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user