---
 libavcodec/shorten.c |    3 +--
 1 files changed, 1 insertions(+), 2 deletions(-)

diff --git a/libavcodec/shorten.c b/libavcodec/shorten.c
index 8031758..7fdd86c 100644
--- a/libavcodec/shorten.c
+++ b/libavcodec/shorten.c
@@ -442,9 +442,8 @@ static int shorten_decode_frame(AVCodecContext *avctx,
     {
         if ((ret = read_header(s)) < 0)
             return ret;
-        *data_size = 0;
     }
-    else
+
     {
         int cmd;
         int len;
-- 
1.7.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to