mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-21 10:55:51 +02:00
Merge commit '159a06dfc83d189f753c4583583ddfb571552ff5'
* commit '159a06dfc83d189f753c4583583ddfb571552ff5': stereo3d: initialize AVStereo3D to zero Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
ad1b571b26
@ -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)
|
|||||||
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;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user