avcodec/screenpresso: return the packet size instead of 0
authorMichael Niedermayer <michael@niedermayer.cc>
Thu, 15 Dec 2016 19:09:48 +0000 (20:09 +0100)
committerMichael Niedermayer <michael@niedermayer.cc>
Thu, 15 Dec 2016 21:11:26 +0000 (22:11 +0100)
commit2eebcda10a65e7d3b0de7f45e49e2636f9b6c8a3
tree701a47b14120c7707b419505ed4ccef35d89ee4e
parentc62beba49a90cc14ed7a971ffa4d5b2c7f487d3a
avcodec/screenpresso: return the packet size instead of 0

Most decoders return the amount of data used.
This is more consistent

Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavcodec/screenpresso.c