mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2025-01-07 11:51:24 +00:00
avcodec: properly initialize AVCodecParameters profile/level
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
This commit is contained in:
parent
4b150fbe1f
commit
994412fb9b
@ -3716,6 +3716,8 @@ static void codec_parameters_reset(AVCodecParameters *par)
|
||||
par->color_space = AVCOL_SPC_UNSPECIFIED;
|
||||
par->chroma_location = AVCHROMA_LOC_UNSPECIFIED;
|
||||
par->sample_aspect_ratio = (AVRational){ 0, 1 };
|
||||
par->profile = FF_PROFILE_UNKNOWN;
|
||||
par->level = FF_LEVEL_UNKNOWN;
|
||||
}
|
||||
|
||||
AVCodecParameters *avcodec_parameters_alloc(void)
|
||||
|
Loading…
Reference in New Issue
Block a user