Browse Source

copy: fix invalid i_codec if not AUDIO_ES

Regression from 385765703e

Fixes #19280
pull/62/head
Thomas Guillem 8 years ago
parent
commit
5d53aa1822
  1. 2
      modules/packetizer/copy.c

2
modules/packetizer/copy.c

@ -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 )
{

Loading…
Cancel
Save