Discussion:
[mltframework/mlt] 3b44b5: Fix #220 crash on 6 channel wtv file.
(too old to reply)
GitHub
2017-03-26 04:19:57 UTC
Permalink
Raw Message
Branch: refs/heads/master
Home: https://github.com/mltframework/mlt
Commit: 3b44b53f7b0f26fa9d285ecfade590a9536c0939
https://github.com/mltframework/mlt/commit/3b44b53f7b0f26fa9d285ecfade590a9536c0939
Author: Dan Dennedy <***@dennedy.org>
Date: 2017-03-25 (Sat, 25 Mar 2017)

Changed paths:
M src/modules/avformat/producer_avformat.c

Log Message:
-----------
Fix #220 crash on 6 channel wtv file.

avcodec_decode_audio4() was used incorrectly to get the amount of
decoded data and from that the number of samples. The third parameter is
not a data size but a got_frame indicator. Use AVFrame.nb_samples
instead.

Loading...