avcodec/rpza: Move frame allocation to a later point
authorMichael Niedermayer <michael@niedermayer.cc>
Sun, 16 Dec 2018 18:04:56 +0000 (19:04 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Mon, 21 Jan 2019 06:53:26 +0000 (07:53 +0100)
commit4c0be3a60cf862656d276443fb0ca1bfcfa7bdc2
treeb1cbd6ef0c65ca3b9835d2b5b6214378f22cdbd3
parent42357b37cb9d5960907ccf74972de3a9cf826703
avcodec/rpza: Move frame allocation to a later point

This will allow performing some fast checks before the slow allocation

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 8a708aa99cb0e8d76e52117b1fd89d221f0055e9)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/rpza.c