Does not make a difference in this case since sizeof(uint8_t*) == sizeof(uint8_t**). Fixes CID703814.
Showing the changes to libavfilter/buffer.c (1 of 1 file). Show all
Unified · Split
| @@ -146,7 +146,7 @@ int avfilter_copy_buf_props(AVFrame *dst, const AVFilterBufferRef *src) · 145 unmodified lines | ||
| 146 | 146 | if (!dst->extended_data) |
| 147 | 147 | return AVERROR(ENOMEM); |
| 148 | 148 | memcpy(dst->extended_data, src->extended_data, |
| 149 | − planes * sizeof(dst->extended_data)); | |
| 149 | + planes * sizeof(*dst->extended_data)); | |
| 150 | 150 | } else |
| 151 | 151 | dst->extended_data = dst->data; |
| 152 | 152 | |