diff --git a/libavcodec/flashsv.c b/libavcodec/flashsv.c index 90c78640d7..8870fe63a8 100644 --- a/libavcodec/flashsv.c +++ b/libavcodec/flashsv.c @@ -114,9 +114,6 @@ static int flashsv_decode_frame(AVCodecContext *avctx, if (buf_size == 0) return 0; - if(s->frame.data[0]) - avctx->release_buffer(avctx, &s->frame); - init_get_bits(&gb, buf, buf_size * 8); /* start to parse the bitstream */