Commit 5d53aa18 authored by Thomas Guillem's avatar Thomas Guillem

copy: fix invalid i_codec if not AUDIO_ES

Regression from 38576570

Fixes #19280
parent d913ae19
......@@ -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