aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCarl Eugen Hoyos <cehoyos@ag.or.at>2013-06-27 13:58:30 +0200
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2013-06-28 09:04:16 +0200
commitf91833210e740f6447e94b58067889a710ce9eca (patch)
tree20e34f8553cb5df6ce6e85523902c43c1253b4a9
parent7f1b3c2ca6942580513392fce33cf54cef859b8f (diff)
downloadffmpeg-f91833210e740f6447e94b58067889a710ce9eca.tar.gz
Set block_align when reading QDM2 in mov.
Fixes ticket #2718.
-rw-r--r--libavformat/mov.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 5c61f6c718..36b17c1710 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -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: