changeset 2029:934117474c3b libavcodec

more data_size=0 cleanup
author michael
date Fri, 21 May 2004 14:40:35 +0000
parents 141a9539e270
children f796043935f3
files mdec.c pcm.c
diffstat 2 files changed, 0 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/mdec.c	Fri May 21 14:37:16 2004 +0000
+++ b/mdec.c	Fri May 21 14:40:35 2004 +0000
@@ -163,8 +163,6 @@
     AVFrame * const p= (AVFrame*)&a->picture;
     int i;
 
-    *data_size = 0;
-
     /* special case for last picture */
     if (buf_size == 0) {
         return 0;
--- a/pcm.c	Fri May 21 14:37:16 2004 +0000
+++ b/pcm.c	Fri May 21 14:40:35 2004 +0000
@@ -334,7 +334,6 @@
         }
         break;
     default:
-        *data_size = 0;
         return -1;
     }
     *data_size = (uint8_t *)samples - (uint8_t *)data;