[FFmpeg-soc] [soc]: r2582 - mlp/mlpdec.c

ramiro subversion at mplayerhq.hu
Sat Jun 28 13:31:55 CEST 2008


Author: ramiro
Date: Sat Jun 28 13:31:55 2008
New Revision: 2582

Log:
Clear output data size on skipped frames.

Modified:
   mlp/mlpdec.c

Modified: mlp/mlpdec.c
==============================================================================
--- mlp/mlpdec.c	(original)
+++ mlp/mlpdec.c	Sat Jun 28 13:31:55 2008
@@ -999,6 +999,7 @@ static int read_access_unit(AVCodecConte
     if (!m->params_valid) {
         av_log(m->avctx, AV_LOG_WARNING,
                "Stream parameters not seen; skipping frame\n");
+        *data_size = 0;
         return length;
     }
 



More information about the FFmpeg-soc mailing list