Commit 20a6f210 authored by Diego Biurrun's avatar Diego Biurrun

flashsvenc: drop unnecessary cast

parent 0686515c
...@@ -183,7 +183,7 @@ static int encode_bitstream(FlashSVContext *s, AVFrame *p, uint8_t *buf, ...@@ -183,7 +183,7 @@ static int encode_bitstream(FlashSVContext *s, AVFrame *p, uint8_t *buf,
av_log(s->avctx, AV_LOG_ERROR, av_log(s->avctx, AV_LOG_ERROR,
"error while compressing block %dx%d\n", i, j); "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; buf_pos += zsize + 2;
av_dlog(avctx, "buf_pos = %d\n", buf_pos); av_dlog(avctx, "buf_pos = %d\n", buf_pos);
} else { } else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment