mov: move stsd finalization to an appropriate place
authorSean McGovern <gseanmcg@gmail.com>
Sat, 29 Jul 2017 23:17:16 +0000 (19:17 -0400)
committerSean McGovern <gseanmcg@gmail.com>
Mon, 31 Jul 2017 21:41:01 +0000 (17:41 -0400)
commitdefe307fb22beca60a632e976ab97e5edd4aee25
tree21c94701223fc62fe067127fe28d2bfe5a4e27e5
parent3050dabaa9a337ad077ec60bba664ad9861e1aa6
mov: move stsd finalization to an appropriate place

mov_finalize_stsd_codec() parses stream information from the ALAC extradata,
so run it after the extradata processing is completed in mov_read_stsd().

Fixes playback of 96kHz ALAC streams muxed by qaac or the reference alac encoder.

Adapted from an FFmpeg patch by Hendrik Leppkes <h.leppkes@gmail.com>

Bug-Id: 1072
libavformat/mov.c