Commit fff6a620 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Avformat: don't warn about AVCODEC_ID_NONE tracks

(cherry picked from commit 37e7db4956c0e5605ce207435ac81a7be0ef0d53)
Signed-off-by: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 9279c339
......@@ -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