changeset 10171:39a7bdbf0d40 libavcodec

Do not release the AVFrame when using reget_buffer in flashsv.
author banan
date Sun, 13 Sep 2009 19:17:02 +0000
parents e1bb4cf6e659
children eda985c53dba
files flashsv.c
diffstat 1 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/flashsv.c	Sun Sep 13 18:05:14 2009 +0000
+++ b/flashsv.c	Sun Sep 13 19:17:02 2009 +0000
@@ -114,9 +114,6 @@
     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 */