]> git.sesse.net Git - ffmpeg/commit
h264: er: Copy from the previous reference only if compatible
authorAndreas Cadhalpun <andreas.cadhalpun@googlemail.com>
Sun, 14 Jun 2015 10:40:18 +0000 (12:40 +0200)
committerAndreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Mon, 15 Jun 2015 16:32:18 +0000 (18:32 +0200)
commitfdc64a104410f5fcc7f35b62287b0ae502b7061a
tree1f2ddb282ea36d83e47c7743dc3cb6e705ab5437
parent96bbbebaf95109f753bec896c51e0544d20b9357
h264: er: Copy from the previous reference only if compatible

Also use the frame pixel format instead of the one from the codec
context, which is more robust.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
libavcodec/h264_slice.c