mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-27 21:40:34 +00:00
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>
This commit is contained in:
parent
745f4bcc2c
commit
c62beba49a
@ -324,6 +324,7 @@ static int rscc_decode_frame(AVCodecContext *avctx, void *data,
|
||||
}
|
||||
*got_frame = 1;
|
||||
|
||||
ret = avpkt->size;
|
||||
end:
|
||||
av_free(inflated_tiles);
|
||||
return ret;
|
||||
|
Loading…
Reference in New Issue
Block a user