Skip to content

Commit 8462f79

Browse files
committed
Use vlc_fourcc_GetCodec to map XVID to MP4V
1 parent 1f9ebe0 commit 8462f79

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/demux/avi/avi.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -713,7 +713,7 @@ static int Open( vlc_object_t * p_this )
713713
}
714714
else
715715
{
716-
tk->fmt.i_codec = p_bih->biCompression;
716+
tk->fmt.i_codec = vlc_fourcc_GetCodec(VIDEO_ES, p_bih->biCompression);
717717
if( tk->fmt.i_codec == VLC_CODEC_MP4V &&
718718
!strncasecmp( (char*)&p_strh->i_handler, "XVID", 4 ) )
719719
{

0 commit comments

Comments
 (0)