summaryrefslogtreecommitdiff
path: root/libavcodec/flashsvenc.c
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2011-07-15 16:21:20 +0200
committerDiego Biurrun <diego@biurrun.de>2011-07-16 00:27:15 +0200
commit20a6f210cdc870691018b44b41ba23e3b7e1bc2b (patch)
tree37303d9eddce523b227235fed5a0f20392659c97 /libavcodec/flashsvenc.c
parent0686515cb49c813eedbb5f9caee3903056060e3b (diff)
flashsvenc: drop unnecessary cast
Diffstat (limited to 'libavcodec/flashsvenc.c')
-rw-r--r--libavcodec/flashsvenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/flashsvenc.c b/libavcodec/flashsvenc.c
index 681d6c9b1c..2802c69b3c 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 {