Mercurial > libavcodec.hg
comparison mpegaudiodec.c @ 2028:141a9539e270 libavcodec
data_size = 0 cleanup
author | michael |
---|---|
date | Fri, 21 May 2004 14:37:16 +0000 |
parents | 5cde80c5d929 |
children | 8bf89660fffe |
comparison
equal
deleted
inserted
replaced
2027:3a78447c3b53 | 2028:141a9539e270 |
---|---|
2518 uint32_t header; | 2518 uint32_t header; |
2519 uint8_t *buf_ptr; | 2519 uint8_t *buf_ptr; |
2520 int len, out_size; | 2520 int len, out_size; |
2521 short *out_samples = data; | 2521 short *out_samples = data; |
2522 | 2522 |
2523 *data_size = 0; | |
2524 buf_ptr = buf; | 2523 buf_ptr = buf; |
2525 while (buf_size > 0) { | 2524 while (buf_size > 0) { |
2526 len = s->inbuf_ptr - s->inbuf; | 2525 len = s->inbuf_ptr - s->inbuf; |
2527 if (s->frame_size == 0) { | 2526 if (s->frame_size == 0) { |
2528 /* special case for next header for first frame in free | 2527 /* special case for next header for first frame in free |