comparison mace.c @ 2028:141a9539e270 libavcodec

data_size = 0 cleanup
author michael
date Fri, 21 May 2004 14:37:16 +0000
parents 5c6648741fdd
children b09bc77eb2fb
comparison
equal deleted inserted replaced
2027:3a78447c3b53 2028:141a9539e270
419 if (avctx->channels == 2) 419 if (avctx->channels == 2)
420 Exp1to6(c, buf, samples+1, buf_size, 2, 2); 420 Exp1to6(c, buf, samples+1, buf_size, 2, 2);
421 *data_size = 2 * 6 * buf_size; 421 *data_size = 2 * 6 * buf_size;
422 break; 422 break;
423 default: 423 default:
424 *data_size = 0;
425 return -1; 424 return -1;
426 } 425 }
427 return buf_size; 426 return buf_size;
428 } 427 }
429 428