summaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-03-11 08:25:00 +0000
committerGwenole Beauchesne <gbeauchesne@splitted-desktop.com>2009-03-11 08:25:00 +0000
commitcd823ff950cf81d54965eceedb64569fee79ab36 (patch)
tree41a162a8f75900aa1411df370e6e5cf1c64d39e3 /libavcodec/avcodec.h
parent27ad7d3a96e05905cc88495060ab387faab0e719 (diff)
downloadffmpeg-streaming-cd823ff950cf81d54965eceedb64569fee79ab36.zip
ffmpeg-streaming-cd823ff950cf81d54965eceedb64569fee79ab36.tar.gz
Use av_mallocz() to initialize hwaccel_data_private.
Originally committed as revision 17942 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 8fdc9d1..1042438 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2467,9 +2467,9 @@ typedef struct AVHWAccel {
/**
* Size of HW accelerator private data.
*
- * Private data is allocated with av_malloc() before
- * AVCodecContext::get_buffer() and deallocated after
- * AVCodecContext::release_buffer().
+ * Private data is allocated with av_mallocz() before
+ * AVCodecContext.get_buffer() and deallocated after
+ * AVCodecContext.release_buffer().
*/
int priv_data_size;
} AVHWAccel;
OpenPOWER on IntegriCloud