OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0686515
)
flashsvenc: drop unnecessary cast
author
Diego Biurrun
<diego@biurrun.de>
Fri, 15 Jul 2011 14:21:20 +0000
(16:21 +0200)
committer
Diego Biurrun
<diego@biurrun.de>
Fri, 15 Jul 2011 22:27:15 +0000
(
00:27
+0200)
libavcodec/flashsvenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/flashsvenc.c
b/libavcodec/flashsvenc.c
index
681d6c9
..
2802c69
100644
(file)
--- 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 {