mirror of https://git.ffmpeg.org/ffmpeg.git
Do not release the AVFrame when using reget_buffer in flashsv.
Originally committed as revision 19834 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
000b8b8699
commit
6acd4d89d8
|
@ -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 */
|
||||||
|
|
Loading…
Reference in New Issue