avcodec/shorten: if allocation fails reset max_frame_size
authorPaul B Mahol <onemda@gmail.com>
Fri, 8 Apr 2016 07:59:05 +0000 (09:59 +0200)
committerPaul B Mahol <onemda@gmail.com>
Fri, 8 Apr 2016 07:59:05 +0000 (09:59 +0200)
commitae8a13c560226f96544a07eb736014b3b5abb1d6
tree2bb3caec224322320fc91afb9a98725e0a44d7be
parent3e99b377fc8bf19d8b8f0116554da403bba5ea91
avcodec/shorten: if allocation fails reset max_frame_size

Otherwise crash happens.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavcodec/shorten.c