git.videolan.org
/
ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5fc4c00
)
avcodec/snowenc: Fix "incompatible pointer type" warning
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 5 May 2014 23:03:58 +0000
(
01:03
+0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 5 May 2014 23:03:58 +0000
(
01:03
+0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavcodec/snowenc.c
patch
|
blob
|
history
diff --git
a/libavcodec/snowenc.c
b/libavcodec/snowenc.c
index
6291bb6
..
5067a36
100644
(file)
--- a/
libavcodec/snowenc.c
+++ b/
libavcodec/snowenc.c
@@
-1543,7
+1543,7
@@
static void calculate_visual_weight(SnowContext *s, Plane *p){
}
static int encode_frame(AVCodecContext *avctx, AVPacket *pkt,
- AVFrame *pict, int *got_packet)
+
const
AVFrame *pict, int *got_packet)
{
SnowContext *s = avctx->priv_data;
RangeCoder * const c= &s->c;