avcodec/decode: fix decoding when frames are allocated using AVHWAccel.alloc_frame()
authorJames Almer <jamrial@gmail.com>
Thu, 28 May 2020 02:10:04 +0000 (23:10 -0300)
committerJames Almer <jamrial@gmail.com>
Thu, 28 May 2020 02:10:04 +0000 (23:10 -0300)
commitb6d6597bef66531ec07c07a7125b88aee38fb220
tree95dba6293fcb2a3d747e47c5d96d7e40074df2ed
parent6d4fdb4f5a184f6deabbda4a71d72a3bb3a9b084
avcodec/decode: fix decoding when frames are allocated using AVHWAccel.alloc_frame()

Regression since a1133db30ef07896afd96f067e5c51531a4e85ab

Found-by: comex <comexk@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
libavcodec/decode.c