Commit 6acd4d89 authored by Benjamin Larsson's avatar Benjamin Larsson

Do not release the AVFrame when using reget_buffer in flashsv.

Originally committed as revision 19834 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 000b8b86
...@@ -114,9 +114,6 @@ static int flashsv_decode_frame(AVCodecContext *avctx, ...@@ -114,9 +114,6 @@ static int flashsv_decode_frame(AVCodecContext *avctx,
if (buf_size == 0) if (buf_size == 0)
return 0; return 0;
if(s->frame.data[0])
avctx->release_buffer(avctx, &s->frame);
init_get_bits(&gb, buf, buf_size * 8); init_get_bits(&gb, buf, buf_size * 8);
/* start to parse the bitstream */ /* start to parse the bitstream */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment