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>
Wed, 19 Dec 2018 19:09:03 +0000 (20:09 +0100)
commit8a708aa99cb0e8d76e52117b1fd89d221f0055e9
tree7d4a32aebbbfaa6bbbd363b614bf2476a86e14ec
parent21f4b456f1ffeaaaa2c4e8ee940f41a569ae6979
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>
libavcodec/rpza.c