diff avcodec.h @ 9161:3a54ad453dbf libavcodec

Use av_mallocz() to initialize hwaccel_data_private.
author gb
date Wed, 11 Mar 2009 08:25:00 +0000
parents 9e66ada64b76
children 12f23f37664b
line wrap: on
line diff
--- a/avcodec.h	Tue Mar 10 17:38:16 2009 +0000
+++ b/avcodec.h	Wed Mar 11 08:25:00 2009 +0000
@@ -2467,9 +2467,9 @@
     /**
      * 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;