diff adpcm.c @ 2028:141a9539e270 libavcodec

data_size = 0 cleanup
author michael
date Fri, 21 May 2004 14:37:16 +0000
parents 39ad6cd5d4a6
children 2b75dff01118
line wrap: on
line diff
--- a/adpcm.c	Fri May 21 14:29:25 2004 +0000
+++ b/adpcm.c	Fri May 21 14:37:16 2004 +0000
@@ -568,7 +568,6 @@
         if(st) { /* handle stereo interlacing */
             c->channel = (channel + 1) % 2; /* we get one packet for left, then one for right data */
             if(channel == 1) { /* wait for the other packet before outputing anything */
-                *data_size = 0;
                 return src - buf;
             }
         }
@@ -842,7 +841,6 @@
         }
         break;
     default:
-        *data_size = 0;
         return -1;
     }
     *data_size = (uint8_t *)samples - (uint8_t *)data;