[FFmpeg-cvslog] avcodec/zmbv: remove the unnecessary type conversion
Limin Wang
git at videolan.org
Fri May 8 04:23:18 EEST 2020
ffmpeg | branch: master | Limin Wang <lance.lmwang at gmail.com> | Thu Sep 12 17:23:42 2019 +0800| [607b85f07e6596a4f1e56bbd5717522b41737547] | committer: Limin Wang
avcodec/zmbv: remove the unnecessary type conversion
Reviewed-by: Carl Eugen Hoyos <ceffmpeg at gmail.com>
Signed-off-by: Limin Wang <lance.lmwang at gmail.com>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=607b85f07e6596a4f1e56bbd5717522b41737547
---
libavcodec/zmbv.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/zmbv.c b/libavcodec/zmbv.c
index 02599bf03d..e3ccc16d0b 100644
--- a/libavcodec/zmbv.c
+++ b/libavcodec/zmbv.c
@@ -536,7 +536,7 @@ static int decode_frame(AVCodecContext *avctx, void *data, int *got_frame, AVPac
c->decomp_len = len;
} else { // ZLIB-compressed data
c->zstream.total_in = c->zstream.total_out = 0;
- c->zstream.next_in = (uint8_t*)buf;
+ c->zstream.next_in = buf;
c->zstream.avail_in = len;
c->zstream.next_out = c->decomp_buf;
c->zstream.avail_out = c->decomp_size;
More information about the ffmpeg-cvslog
mailing list