projects
/
melted
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
some bugfixes and rescale filter
[melted]
/
src
/
modules
/
avformat
/
producer_avformat.c
diff --git
a/src/modules/avformat/producer_avformat.c
b/src/modules/avformat/producer_avformat.c
index
d19c165
..
bbefd2a
100644
(file)
--- a/
src/modules/avformat/producer_avformat.c
+++ b/
src/modules/avformat/producer_avformat.c
@@
-699,6
+699,7
@@
static int producer_get_audio( mlt_frame frame, int16_t **buffer, mlt_audio_form
}
// Now handle the audio if we have enough
+
if ( audio_used >= *samples )
{
*buffer = malloc( *samples * *channels * sizeof( int16_t ) );