flashsvenc: drop unnecessary cast
authorDiego Biurrun <diego@biurrun.de>
Fri, 15 Jul 2011 14:21:20 +0000 (16:21 +0200)
committerDiego Biurrun <diego@biurrun.de>
Fri, 15 Jul 2011 22:27:15 +0000 (00:27 +0200)
libavcodec/flashsvenc.c

index 681d6c9..2802c69 100644 (file)
@@ -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 {