Mercurial > libavcodec.hg
comparison dv.c @ 2028:141a9539e270 libavcodec
data_size = 0 cleanup
author | michael |
---|---|
date | Fri, 21 May 2004 14:37:16 +0000 |
parents | 3a78447c3b53 |
children | f8ac68cd4fa8 |
comparison
equal
deleted
inserted
replaced
2027:3a78447c3b53 | 2028:141a9539e270 |
---|---|
887 void *data, int *data_size, | 887 void *data, int *data_size, |
888 uint8_t *buf, int buf_size) | 888 uint8_t *buf, int buf_size) |
889 { | 889 { |
890 DVVideoContext *s = avctx->priv_data; | 890 DVVideoContext *s = avctx->priv_data; |
891 | 891 |
892 *data_size=0; | |
893 /* special case for last picture */ | 892 /* special case for last picture */ |
894 if(buf_size==0) | 893 if(buf_size==0) |
895 return 0; | 894 return 0; |
896 | 895 |
897 s->sys = dv_frame_profile(buf); | 896 s->sys = dv_frame_profile(buf); |