mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-12-23 12:43:46 +02:00
lavc: support ZenoXVID custom tag
Looks like this kind of samples are produced by certain Russian equipment.
This commit is contained in:
parent
43e0e0c4e5
commit
80ac87c13d
@ -441,7 +441,7 @@ retry:
|
||||
if(s->xvid_build==-1 && s->divx_version==-1 && s->lavc_build==-1){
|
||||
if(s->stream_codec_tag == AV_RL32("XVID") ||
|
||||
s->codec_tag == AV_RL32("XVID") || s->codec_tag == AV_RL32("XVIX") ||
|
||||
s->codec_tag == AV_RL32("RMP4") ||
|
||||
s->codec_tag == AV_RL32("RMP4") || s->codec_tag == AV_RL32("ZMP4") ||
|
||||
s->codec_tag == AV_RL32("SIPP")
|
||||
)
|
||||
s->xvid_build= 0;
|
||||
|
@ -55,6 +55,7 @@ const AVCodecTag ff_codec_bmp_tags[] = {
|
||||
{ AV_CODEC_ID_MPEG4, MKTAG('M', 'P', '4', 'S') },
|
||||
{ AV_CODEC_ID_MPEG4, MKTAG('M', '4', 'S', '2') },
|
||||
{ AV_CODEC_ID_MPEG4, MKTAG( 4 , 0 , 0 , 0 ) }, /* some broken avi use this */
|
||||
{ AV_CODEC_ID_MPEG4, MKTAG('Z', 'M', 'P', '4') }, /* some broken avi use this */
|
||||
{ AV_CODEC_ID_MPEG4, MKTAG('D', 'I', 'V', '1') },
|
||||
{ AV_CODEC_ID_MPEG4, MKTAG('B', 'L', 'Z', '0') },
|
||||
{ AV_CODEC_ID_MPEG4, MKTAG('m', 'p', '4', 'v') },
|
||||
|
Loading…
Reference in New Issue
Block a user