Commit ad1b571b authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit '159a06df'

* commit '159a06df':
  stereo3d: initialize AVStereo3D to zero
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents e260c818 159a06df
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
*/ */
#include <stdint.h> #include <stdint.h>
#include <string.h>
#include "mem.h" #include "mem.h"
#include "stereo3d.h" #include "stereo3d.h"
...@@ -36,5 +37,7 @@ AVStereo3D *av_stereo3d_create_side_data(AVFrame *frame) ...@@ -36,5 +37,7 @@ AVStereo3D *av_stereo3d_create_side_data(AVFrame *frame)
if (!side_data) if (!side_data)
return NULL; return NULL;
memset(side_data->data, 0, sizeof(AVStereo3D));
return (AVStereo3D *)side_data->data; return (AVStereo3D *)side_data->data;
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment