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, 14 Jan 2019 23:57:27 +0000 (00:57 +0100)
commitb96292c6d34896b51c971748baa1d34b0890fbaf
tree6e61fd2a08f686d6059b081dbb0d359c9177a1f7
parentbcc42f192342b9e8718e1a010950b021dcce0d17
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