codec: avcodec: fix broken check before copy (fix #22240)
authorFrancois Cartegnie <fcvlcdev@free.fr>
Mon, 20 May 2019 12:27:39 +0000 (14:27 +0200)
committerHugo Beauzée-Luyssen <hugo@beauzee.fr>
Wed, 17 Jul 2019 11:19:05 +0000 (13:19 +0200)
commit2b4f9d0b0e0861f262c90e9b9b94e7d53b864509
treeed1a978a61b7d559d13f564bdb4fe1b100fc6a61
parent9e644bdf34642dcf314d06ab10de69ac681566d8
codec: avcodec: fix broken check before copy (fix #22240)

copy parameters are the picture ones

regression by c988b8d58b01ef6d628e3051774a2032dd7f6b7d

(cherry picked from commit 603ecaf0f3fdf3b0a83cd2c773e05ac347b2149a)
Signed-off-by: Hugo Beauzée-Luyssen <hugo@beauzee.fr>
modules/codec/avcodec/video.c