some bugfixes and rescale filter
[melted] / src / modules / avformat / producer_avformat.c
index d19c165..bbefd2a 100644 (file)
@@ -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 ) );