Skip to content
Snippets Groups Projects
Commit 252746d0 authored by Stefano Sabatini's avatar Stefano Sabatini
Browse files

lavu/imgutils: add consistency checks to av_image_copy_plane()

Add assertions and abort in case of invalid |dst_linesize| < bytewidth or
|src_linesize| < bytewidth.

Avoid to silently corrupt memory.
parent 26c531cc
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment