1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

flashsvenc: drop unnecessary cast

This commit is contained in:
Diego Biurrun 2011-07-15 16:21:20 +02:00
parent 0686515cb4
commit 20a6f210cd

View File

@ -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 {