Mercurial > libavcodec.hg
comparison vcr1.c @ 2028:141a9539e270 libavcodec
data_size = 0 cleanup
author | michael |
---|---|
date | Fri, 21 May 2004 14:37:16 +0000 |
parents | 8d3540dddd1b |
children | f67b63ed036d |
comparison
equal
deleted
inserted
replaced
2027:3a78447c3b53 | 2028:141a9539e270 |
---|---|
42 VCR1Context * const a = avctx->priv_data; | 42 VCR1Context * const a = avctx->priv_data; |
43 AVFrame *picture = data; | 43 AVFrame *picture = data; |
44 AVFrame * const p= (AVFrame*)&a->picture; | 44 AVFrame * const p= (AVFrame*)&a->picture; |
45 uint8_t *bytestream= buf; | 45 uint8_t *bytestream= buf; |
46 int i, x, y; | 46 int i, x, y; |
47 | |
48 *data_size = 0; | |
49 | 47 |
50 /* special case for last picture */ | 48 /* special case for last picture */ |
51 if (buf_size == 0) { | 49 if (buf_size == 0) { |
52 return 0; | 50 return 0; |
53 } | 51 } |