mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-08-03 22:50:36 +00:00
Use av_mallocz() to initialize hwaccel_data_private.
Originally committed as revision 17942 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user