forked from FFmpeg/FFmpeg
Merge remote-tracking branch 'cigaes/master'
* cigaes/master: examples/filtering_audio: fix frame leak. Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
5b9675b5ac
1 changed files with 1 additions and 1 deletions
|
@ -227,7 +227,7 @@ int main(int argc, char **argv)
|
|||
|
||||
if (got_frame) {
|
||||
/* push the audio data from decoded frame into the filtergraph */
|
||||
if (av_buffersrc_add_frame_flags(buffersrc_ctx, frame, AV_BUFFERSRC_FLAG_KEEP_REF) < 0) {
|
||||
if (av_buffersrc_add_frame_flags(buffersrc_ctx, frame, 0) < 0) {
|
||||
av_log(NULL, AV_LOG_ERROR, "Error while feeding the audio filtergraph\n");
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue