From f91833210e740f6447e94b58067889a710ce9eca Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Thu, 27 Jun 2013 13:58:30 +0200 Subject: [PATCH] Set block_align when reading QDM2 in mov. Fixes ticket #2718. --- libavformat/mov.c | 1 + 1 file changed, 1 insertion(+) 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: