uppercase codec_tag=AVC1 support
Originally committed as revision 3746 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
169eb021d0
commit
bf835aee11
@ -2248,7 +2248,7 @@ static int decode_init(AVCodecContext *avctx){
|
|||||||
|
|
||||||
decode_init_vlc(h);
|
decode_init_vlc(h);
|
||||||
|
|
||||||
if(avctx->codec_tag != 0x31637661) // avc1
|
if(avctx->codec_tag != 0x31637661 && avctx->codec_tag != 0x31435641) // avc1
|
||||||
h->is_avc = 0;
|
h->is_avc = 0;
|
||||||
else {
|
else {
|
||||||
if((avctx->extradata_size == 0) || (avctx->extradata == NULL)) {
|
if((avctx->extradata_size == 0) || (avctx->extradata == NULL)) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user