avcodec/decode: Update decode_simple_internal() to get the side data correctly.
authorJohn Rummell <jrummell@chromium.org>
Wed, 14 Jun 2017 21:43:04 +0000 (14:43 -0700)
committerJames Almer <jamrial@gmail.com>
Tue, 20 Jun 2017 20:14:17 +0000 (17:14 -0300)
commit966a0a814d4e0a731a74949379076e1328ca3e78
treef97638d07f970d0d24f6434ddb823ae2e70ae343
parent8221c7170317b40d9ab8ca2810cd8f5afbd77e02
avcodec/decode: Update decode_simple_internal() to get the side data correctly.

Use avci->last_pkt_props to get the side data. Using |pkt| doesn't work
when FF_API_MERGE_SD is set, as the compressed side data is expanded into
|tmp|, leaving the original |pkt| unchanged.

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