diff options
author | Anton Khirnov <anton@khirnov.net> | 2013-02-13 11:50:04 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2013-03-08 10:39:37 +0400 |
commit | 3b199d29cd597a3518136d78860e172060b9e83d (patch) | |
tree | dc28aebc7ea0629fb24103931c8bf7a97cfc54ef /libavcodec/vmnc.c | |
parent | 759001c534287a96dc96d1e274665feb7059145d (diff) |
lavc decoders: properly initialize AVFrame.
Diffstat (limited to 'libavcodec/vmnc.c')
-rw-r--r-- | libavcodec/vmnc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/vmnc.c b/libavcodec/vmnc.c index 41e4730b44..d060d5b81f 100644 --- a/libavcodec/vmnc.c +++ b/libavcodec/vmnc.c @@ -488,6 +488,8 @@ static av_cold int decode_init(AVCodecContext *avctx) return AVERROR_INVALIDDATA; } + avcodec_get_frame_defaults(&c->pic); + return 0; } |