]> git.sesse.net Git - ffmpeg/commit
avcodec/h264_slice: don't copy frame data during error concealment
authorJames Almer <jamrial@gmail.com>
Tue, 9 Mar 2021 02:10:10 +0000 (23:10 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 11 Mar 2021 20:57:37 +0000 (17:57 -0300)
commit99042c2bf6cc79006036502a6abbec5e51f73673
tree9fe141bbb4cb283bb5ae47426aac7e6202b0647e
parent9e2e6f935bed329a7c2eabae7de02cccd88e2f26
avcodec/h264_slice: don't copy frame data during error concealment

In addition to the fact that av_image_copy() cannot handle hardware pixel formats,
h->short_ref[0]->f may not be writable at this point.

Based on a patch by Hendrik Leppkes.

Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/h264_slice.c