mirror of
https://github.com/mpv-player/mpv
synced 2025-01-11 17:39:38 +00:00
ad_spdif: add missing codec_desc initialization
This commit is contained in:
parent
0c85b9915f
commit
e6e0aaa6c6
@ -446,6 +446,10 @@ static struct mp_decoder *create(struct mp_filter *parent,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
const AVCodecDescriptor *desc = avcodec_descriptor_get(spdif_ctx->codec_id);
|
||||
if (desc)
|
||||
codec->codec_desc = desc->long_name;
|
||||
|
||||
return &spdif_ctx->public;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user