提交 be511925 编写于 作者: B Baptiste Coudurier

set alac frame size from extradata

Originally committed as revision 12937 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 3fd6b336
......@@ -936,6 +936,10 @@ static int mov_read_stsd(MOVContext *c, ByteIOContext *pb, MOV_atom_t atom)
case CODEC_ID_ADPCM_IMA_WAV:
st->codec->block_align = sc->bytes_per_frame;
break;
case CODEC_ID_ALAC:
if (st->codec->extradata_size == 36)
st->codec->frame_size = AV_RB32((st->codec->extradata+12));
break;
default:
break;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册