-
Andreas Cadhalpun authored
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>
078be09d
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
Makefile | Loading commit data... | |
README | ||
avio_reading.c | ||
decoding_encoding.c | ||
demuxing_decoding.c | ||
extract_mvs.c | ||
filter_audio.c | ||
filtering_audio.c | ||
filtering_video.c | ||
metadata.c | ||
muxing.c | ||
remuxing.c | ||
resampling_audio.c | ||
scaling_video.c | ||
transcode_aac.c | ||
transcoding.c |