git.videolan.org
/
ffmpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
C99 initializers and kill warnings patch by (mru at users dot sourceforge dot net...
[ffmpeg.git]
/
libavcodec
/
mpegvideo.c
diff --git
a/libavcodec/mpegvideo.c
b/libavcodec/mpegvideo.c
index
4bea024
..
882672b
100644
(file)
--- a/
libavcodec/mpegvideo.c
+++ b/
libavcodec/mpegvideo.c
@@
-291,7
+291,7
@@
static int alloc_picture(MpegEncContext *s, Picture *pic, int shared){
r= s->avctx->get_buffer(s->avctx, (AVFrame*)pic);
if(r<0 || !pic->age || !pic->type || !pic->data[0]){
r= s->avctx->get_buffer(s->avctx, (AVFrame*)pic);
if(r<0 || !pic->age || !pic->type || !pic->data[0]){
- fprintf(stderr, "get_buffer() failed (%d %d %d %
X)\n", r, pic->age, pic->type, (int)
pic->data[0]);
+ fprintf(stderr, "get_buffer() failed (%d %d %d %
p)\n", r, pic->age, pic->type,
pic->data[0]);
return -1;
}
return -1;
}