It's not part of the libavutil ABI.
Showing the changes to libavfilter (1 of 1 file). Show all
Unified · Split
| @@ -108,14 +108,7 @@ static void dump_spherical(AVFilterContext *ctx, AVFrame *frame, const AVFrameSi · 107 unmodified lines | ||
| 108 | 108 | |
| 109 | 109 | static void dump_stereo3d(AVFilterContext *ctx, const AVFrameSideData *sd) |
| 110 | 110 | { |
| 111 | − const AVStereo3D *stereo; | |
| 112 | − | |
| 113 | − if (sd->size < sizeof(*stereo)) { | |
| 114 | − av_log(ctx, AV_LOG_ERROR, "invalid data\n"); | |
| 115 | − return; | |
| 116 | − } | |
| 117 | − | |
| 118 | − stereo = (const AVStereo3D *)sd->data; | |
| 111 | + const AVStereo3D *stereo = (const AVStereo3D *)sd->data; | |
| 119 | 112 | |
| 120 | 113 | av_log(ctx, AV_LOG_INFO, "type - %s", av_stereo3d_type_name(stereo->type)); |
| 121 | 114 | |