OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4687f90
)
Correct order of arguments for avcodec_check_dimensions().
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 23 Nov 2009 19:24:17 +0000
(19:24 +0000)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 23 Nov 2009 19:24:17 +0000
(19:24 +0000)
Originally committed as revision 20590 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavcodec/rv10.c
patch
|
blob
|
history
diff --git
a/libavcodec/rv10.c
b/libavcodec/rv10.c
index
1e59074
..
004c02d
100644
(file)
--- a/
libavcodec/rv10.c
+++ b/
libavcodec/rv10.c
@@
-367,7
+367,7
@@
static int rv20_decode_picture_header(MpegEncContext *s)
}
if(new_w != s->width || new_h != s->height){
av_log(s->avctx, AV_LOG_DEBUG, "attempting to change resolution to %dx%d\n", new_w, new_h);
- if (avcodec_check_dimensions(s->avctx, new_
h, new_w
) < 0)
+ if (avcodec_check_dimensions(s->avctx, new_
w, new_h
) < 0)
return -1;
MPV_common_end(s);
avcodec_set_dimensions(s->avctx, new_w, new_h);