You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02: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:
@@ -324,6 +324,7 @@ static int rscc_decode_frame(AVCodecContext *avctx, void *data,
|
|||||||
}
|
}
|
||||||
*got_frame = 1;
|
*got_frame = 1;
|
||||||
|
|
||||||
|
ret = avpkt->size;
|
||||||
end:
|
end:
|
||||||
av_free(inflated_tiles);
|
av_free(inflated_tiles);
|
||||||
return ret;
|
return ret;
|
||||||
|
Reference in New Issue
Block a user