OSDN Git Service

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)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 15 Jun 2015 11:39:07 +0000 (13:39 +0200)
commita4fbd55d6e03eabdbecc3b7892ec09eb8062d066
tree2440da1c4694f2601b814a82666df71efce2d017
parent9af7e8045e3e63ab39adedae9a7c11b1c410af26
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: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/h264_slice.c