Mercurial > libavcodec.hg
comparison vp56.c @ 4484:3b1815b57b6d libavcodec
ensure that data[0] is set to NULL for next frame
to please avcodec_default_get_buffer()
author | aurel |
---|---|
date | Tue, 06 Feb 2007 00:35:51 +0000 |
parents | e5d148036c87 |
children | a96d905dcbaa |
comparison
equal
deleted
inserted
replaced
4483:7a56dc39adef | 4484:3b1815b57b6d |
---|---|
607 s->frames[VP56_FRAME_PREVIOUS] = *p; | 607 s->frames[VP56_FRAME_PREVIOUS] = *p; |
608 | 608 |
609 *picture = *p; | 609 *picture = *p; |
610 *data_size = sizeof(AVPicture); | 610 *data_size = sizeof(AVPicture); |
611 | 611 |
612 s->frames[VP56_FRAME_CURRENT].data[0] = NULL; | |
612 return buf_size; | 613 return buf_size; |
613 } | 614 } |
614 | 615 |
615 void vp56_init(vp56_context_t *s, AVCodecContext *avctx, int flip) | 616 void vp56_init(vp56_context_t *s, AVCodecContext *avctx, int flip) |
616 { | 617 { |