[FFmpeg-cvslog] ffv1: set internal frame defaults
Stefano Sabatini
git at videolan.org
Sun May 8 19:44:39 CEST 2011
ffmpeg | branch: master | Stefano Sabatini <stefano.sabatini-lala at poste.it> | Sun May 8 19:26:22 2011 +0200| [4737a59373318cf47994c4b4e250a064d95f3088] | committer: Stefano Sabatini
ffv1: set internal frame defaults
Another fix missed before the vsrc_buffer changes.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=4737a59373318cf47994c4b4e250a064d95f3088
---
libavcodec/ffv1.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavcodec/ffv1.c b/libavcodec/ffv1.c
index 814b087..16a9d5d 100644
--- a/libavcodec/ffv1.c
+++ b/libavcodec/ffv1.c
@@ -725,6 +725,8 @@ static av_cold int common_init(AVCodecContext *avctx){
s->avctx= avctx;
s->flags= avctx->flags;
+ avcodec_get_frame_defaults(&s->picture);
+
dsputil_init(&s->dsp, avctx);
s->width = avctx->width;
More information about the ffmpeg-cvslog
mailing list