aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/vp9-02-size-18x08
diff options
context:
space:
mode:
authorAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>2015-01-31 20:36:07 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-02-10 02:43:47 +0100
commit078be09dd713142b0e6598d32b755883f8e36b71 (patch)
tree82524c2679fb5c85200ab0b86fc420f303c9207c /tests/ref/fate/vp9-02-size-18x08
parent06fe6dfe12d7248827722dde69c72970fb06280d (diff)
downloadffmpeg-078be09dd713142b0e6598d32b755883f8e36b71.tar.gz
examples/demuxing_decoding: abort decoding when width, height or pix_fmt change
This is necessary, because avcodec_decode_video2 can change width, height and/or pixel format of the AVCodecContext. Since video_dst_data and video_dst_linesize are not updated by calling av_image_alloc again, av_image_copy[_plane] asserts, because the destination buffer is too small. In this case, creating a useable rawvideo is not possible anyway, since it has fixed width/height/pix_fmt. Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'tests/ref/fate/vp9-02-size-18x08')
0 files changed, 0 insertions, 0 deletions