Set block_align when reading QDM2 in mov.

Fixes ticket #2718.
This commit is contained in:
Carl Eugen Hoyos 2013-06-27 13:58:30 +02:00
parent 7f1b3c2ca6
commit f91833210e

View File

@ -1551,6 +1551,7 @@ int ff_mov_read_stsd_entries(MOVContext *c, AVIOContext *pb, int entries)
case AV_CODEC_ID_ILBC:
case AV_CODEC_ID_MACE3:
case AV_CODEC_ID_MACE6:
case AV_CODEC_ID_QDM2:
st->codec->block_align = sc->bytes_per_frame;
break;
case AV_CODEC_ID_ALAC: