Commit b22e7601 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Memory leak

parent db8219ed
...@@ -298,7 +298,7 @@ int OpenDemux( vlc_object_t *p_this ) ...@@ -298,7 +298,7 @@ int OpenDemux( vlc_object_t *p_this )
msg_Warn( p_demux, "unsupported track type in ffmpeg demux" ); msg_Warn( p_demux, "unsupported track type in ffmpeg demux" );
break; break;
} }
fmt.psz_language = strdup( p_sys->ic->streams[i]->language ); fmt.psz_language = p_sys->ic->streams[i]->language;
#ifdef HAVE_FFMPEG_CODEC_ATTACHMENT #ifdef HAVE_FFMPEG_CODEC_ATTACHMENT
if( cc->codec_type != CODEC_TYPE_ATTACHMENT ) if( cc->codec_type != CODEC_TYPE_ATTACHMENT )
......
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