summaryrefslogtreecommitdiffstats
path: root/libavcodec/decode.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2019-08-17 19:12:01 +0200
committerMarton Balint <cus@passwd.hu>2019-08-22 21:38:41 +0200
commit3a09dbdb4a2f66558367a1350b37ad470aa71fac (patch)
treeb228bac38e87901ec1b36e5445ce751095a65a1f /libavcodec/decode.c
parentb2e37e3eb27b97cf8a226ffe716d98a8980d0e3e (diff)
downloadffmpeg-streaming-3a09dbdb4a2f66558367a1350b37ad470aa71fac.zip
ffmpeg-streaming-3a09dbdb4a2f66558367a1350b37ad470aa71fac.tar.gz
avcodec: remove some dead assignments
Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavcodec/decode.c')
-rw-r--r--libavcodec/decode.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index 6c31166..cf9676e 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -300,7 +300,6 @@ static int bsfs_poll(AVCodecContext *avctx, AVPacket *pkt)
ret = av_bsf_receive_packet(s->bsfs[idx], pkt);
if (ret == AVERROR(EAGAIN)) {
/* no packets available, try the next filter up the chain */
- ret = 0;
idx--;
continue;
} else if (ret < 0 && ret != AVERROR_EOF) {
OpenPOWER on IntegriCloud