summaryrefslogtreecommitdiffstats
path: root/libavcodec/mpegpicture.h
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2016-06-09 18:35:03 -0400
committerVittorio Giovara <vittorio.giovara@gmail.com>2016-06-13 13:31:21 -0400
commit05a4bacbf7ece618553d339afe1d0b57bc87aea8 (patch)
tree56fc0b561c3cedfe4e4655a13a56eee2e9b2d6d0 /libavcodec/mpegpicture.h
parentbcc07e2576cb723007bea1238afd019ae2d1b005 (diff)
downloadffmpeg-streaming-05a4bacbf7ece618553d339afe1d0b57bc87aea8.zip
ffmpeg-streaming-05a4bacbf7ece618553d339afe1d0b57bc87aea8.tar.gz
avpacket: Error out when creating 0-sized side data
This mimics the behaviour of other av_*_new_side_data(). This is not caught by the malloc check, since padding is always added to the allocated size. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/mpegpicture.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud