Commit 37e7db49 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Avformat: don't warn about AVCODEC_ID_NONE tracks

parent 7f80a94d
......@@ -334,6 +334,12 @@ int OpenDemux( vlc_object_t *p_this )
vlc_fourcc_t fcc;
const char *psz_type = "unknown";
if( cc->codec_id == AV_CODEC_ID_NONE )
{
p_sys->i_tk++;
continue;
}
if( !GetVlcFourcc( cc->codec_id, NULL, &fcc, NULL ) )
fcc = VLC_FOURCC( 'u', 'n', 'd', 'f' );
......
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