---
 libavcodec/sipr.c |    4 ----
 1 files changed, 0 insertions(+), 4 deletions(-)

diff --git a/libavcodec/sipr.c b/libavcodec/sipr.c
index 08dd63a..70227c3 100644
--- a/libavcodec/sipr.c
+++ b/libavcodec/sipr.c
@@ -518,8 +518,6 @@ static int sipr_decode_frame(AVCodecContext *avctx, void 
*datap,
         av_log(avctx, AV_LOG_ERROR,
                "Error processing packet: packet size (%d) too small\n",
                avpkt->size);
-
-        *data_size = 0;
         return -1;
     }
 
@@ -530,8 +528,6 @@ static int sipr_decode_frame(AVCodecContext *avctx, void 
*datap,
         av_log(avctx, AV_LOG_ERROR,
                "Error processing packet: output buffer (%d) too small\n",
                *data_size);
-
-        *data_size = 0;
         return -1;
     }
 
-- 
1.7.1

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

Reply via email to