comparison oggvorbis.c @ 2028:141a9539e270 libavcodec

data_size = 0 cleanup
author michael
date Fri, 21 May 2004 14:37:16 +0000
parents 48c1033bd23b
children 02a4fd7c606c
comparison
equal deleted inserted replaced
2027:3a78447c3b53 2028:141a9539e270
262 ogg_packet *op= &context->op; 262 ogg_packet *op= &context->op;
263 int samples, total_samples, total_bytes,i; 263 int samples, total_samples, total_bytes,i;
264 264
265 if(!buf_size){ 265 if(!buf_size){
266 //FIXME flush 266 //FIXME flush
267 *data_size=0;
268 return 0; 267 return 0;
269 } 268 }
270 269
271 op->packet = buf; 270 op->packet = buf;
272 op->bytes = buf_size; 271 op->bytes = buf_size;