diff options
author | Aurelien Jacobs <aurel@gnuage.org> | 2007-02-06 00:35:51 +0000 |
---|---|---|
committer | Aurelien Jacobs <aurel@gnuage.org> | 2007-02-06 00:35:51 +0000 |
commit | 5e5067c73db37f38d32a4e62241f666119c97360 (patch) | |
tree | eabf2e138fc06ab3d52b620b517c6143550bbfc2 /libavcodec/vp56.c | |
parent | 4323b09d380081bd2be32fb580214743d4ad5161 (diff) | |
download | ffmpeg-5e5067c73db37f38d32a4e62241f666119c97360.tar.gz |
ensure that data[0] is set to NULL for next frame
to please avcodec_default_get_buffer()
Originally committed as revision 7846 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/vp56.c')
-rw-r--r-- | libavcodec/vp56.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/vp56.c b/libavcodec/vp56.c index eb78d02e47..62683180db 100644 --- a/libavcodec/vp56.c +++ b/libavcodec/vp56.c @@ -609,6 +609,7 @@ int vp56_decode_frame(AVCodecContext *avctx, void *data, int *data_size, *picture = *p; *data_size = sizeof(AVPicture); + s->frames[VP56_FRAME_CURRENT].data[0] = NULL; return buf_size; } |