OSDN Git Service

avcodec/rscc: 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:10:40 +0000 (22:10 +0100)
commitc62beba49a90cc14ed7a971ffa4d5b2c7f487d3a
tree415f98b9f495c2a2c70cc94b5adad031bdbab196
parent745f4bcc2c1deaa562cce01fa52e38b0220aed31
avcodec/rscc: 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/rscc.c