Commit c8e6769a authored by Thomas Guillem's avatar Thomas Guillem

copy: fix invalid i_codec if not AUDIO_ES

Regression from 38576570

Fixes #19280

(cherry picked from commit 5d53aa18)
Signed-off-by: Thomas Guillem's avatarThomas Guillem <thomas@gllm.fr>
parent 115c4a55
......@@ -105,7 +105,7 @@ static int Open( vlc_object_t *p_this )
break;
}
vlc_fourcc_t fcc = p_dec->fmt_out.i_codec;
vlc_fourcc_t fcc = p_dec->fmt_in.i_codec;
/* Fix the value of the fourcc for audio */
if( p_dec->fmt_in.i_cat == AUDIO_ES )
{
......
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