comparison truemotion1.c @ 2028:141a9539e270 libavcodec

data_size = 0 cleanup
author michael
date Fri, 21 May 2004 14:37:16 +0000
parents d7505fbe66cb
children 95d303a305d2
comparison
equal deleted inserted replaced
2027:3a78447c3b53 2028:141a9539e270
545 545
546 /* no supplementary picture */ 546 /* no supplementary picture */
547 if (buf_size == 0) 547 if (buf_size == 0)
548 return 0; 548 return 0;
549 549
550 *data_size = 0;
551
552 if (truemotion1_decode_header(s) == -1) 550 if (truemotion1_decode_header(s) == -1)
553 return -1; 551 return -1;
554 552
555 /* check for a do-nothing frame and copy the previous frame */ 553 /* check for a do-nothing frame and copy the previous frame */
556 if (compression_types[s->compression].algorithm == ALGO_NOP) 554 if (compression_types[s->compression].algorithm == ALGO_NOP)