[FFmpeg-cvslog] flashsvenc: drop unnecessary cast
Diego Biurrun
git at videolan.org
Sat Jul 16 19:49:07 CEST 2011
ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Fri Jul 15 16:21:20 2011 +0200| [20a6f210cdc870691018b44b41ba23e3b7e1bc2b] | committer: Diego Biurrun
flashsvenc: drop unnecessary cast
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=20a6f210cdc870691018b44b41ba23e3b7e1bc2b
---
libavcodec/flashsvenc.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c
index 681d6c9..2802c69 100644
--- a/libavcodec/flashsvenc.c
+++ b/libavcodec/flashsvenc.c
@@ -183,7 +183,7 @@ static int encode_bitstream(FlashSVContext *s, AVFrame *p, uint8_t *buf,
av_log(s->avctx, AV_LOG_ERROR,
"error while compressing block %dx%d\n", i, j);
- bytestream_put_be16(&ptr, (unsigned int) zsize);
+ bytestream_put_be16(&ptr, zsize);
buf_pos += zsize + 2;
av_dlog(avctx, "buf_pos = %d\n", buf_pos);
} else {
More information about the ffmpeg-cvslog
mailing list