]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/bsf.c
avcodec/aacdec: Add FF_CODEC_CAP_INIT_CLEANUP
[ffmpeg] / libavcodec / bsf.c
index 508130760335fa6d285e7262053d7a2cfc08681c..71915dea8519882b3a774b0d59839121530cad9f 100644 (file)
@@ -306,7 +306,6 @@ static int bsf_list_filter(AVBSFContext *bsf, AVPacket *out)
             ret = av_bsf_receive_packet(lst->bsfs[lst->idx-1], out);
             if (ret == AVERROR(EAGAIN)) {
                 /* no more packets from idx-1, try with previous */
-                ret = 0;
                 lst->idx--;
                 continue;
             } else if (ret == AVERROR_EOF) {