X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=doc%2Fexamples%2Ffiltering_audio.c;h=834b137cd93fb89b3e83fc8a15f18a5c5193c1b9;hb=f394d7b382aa038c4ba34d9f9be0bb0645fc64e3;hp=b109dbcb96d70e747a80a40de9334309852924e8;hpb=b14761d1f8372dfe558193b8b754b9f1a858077d;p=ffmpeg diff --git a/doc/examples/filtering_audio.c b/doc/examples/filtering_audio.c index b109dbcb96d..834b137cd93 100644 --- a/doc/examples/filtering_audio.c +++ b/doc/examples/filtering_audio.c @@ -74,7 +74,6 @@ static int open_input_file(const char *filename) if (!dec_ctx) return AVERROR(ENOMEM); avcodec_parameters_to_context(dec_ctx, fmt_ctx->streams[audio_stream_index]->codecpar); - av_opt_set_int(dec_ctx, "refcounted_frames", 1, 0); /* init the audio decoder */ if ((ret = avcodec_open2(dec_ctx, dec, NULL)) < 0) {