summaryrefslogtreecommitdiff
path: root/libavcodec/flashsv.c
diff options
context:
space:
mode:
authorBenjamin Larsson <banan@ludd.ltu.se>2009-09-13 19:17:02 +0000
committerBenjamin Larsson <banan@ludd.ltu.se>2009-09-13 19:17:02 +0000
commit6acd4d89d805562848d2f697d604231b2adf8986 (patch)
tree1e9f8a818bac72fd5a5ad0f3d7a29a881d9ac573 /libavcodec/flashsv.c
parent000b8b8699e58fd07d80a77b7866c20c3b4e41d8 (diff)
Do not release the AVFrame when using reget_buffer in flashsv.
Originally committed as revision 19834 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/flashsv.c')
-rw-r--r--libavcodec/flashsv.c3
1 files changed, 0 insertions, 3 deletions
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 */