[FFmpeg-cvslog] r17045 - trunk/libavcodec/utils.c
bcoudurier
subversion
Sun Feb 8 07:11:51 CET 2009
Author: bcoudurier
Date: Sun Feb 8 07:11:50 2009
New Revision: 17045
Log:
remove only one warning
Modified:
trunk/libavcodec/utils.c
Modified: trunk/libavcodec/utils.c
==============================================================================
--- trunk/libavcodec/utils.c Sun Feb 8 07:03:10 2009 (r17044)
+++ trunk/libavcodec/utils.c Sun Feb 8 07:11:50 2009 (r17045)
@@ -1032,7 +1032,7 @@ int av_parse_video_frame_size(int *width
{
int i;
int n = FF_ARRAY_ELEMS(video_frame_size_abbrs);
- const char *p;
+ char *p;
int frame_width = 0, frame_height = 0;
for(i=0;i<n;i++) {
@@ -1044,10 +1044,10 @@ int av_parse_video_frame_size(int *width
}
if (i == n) {
p = str;
- frame_width = strtol(p, (char **)&p, 10);
+ frame_width = strtol(p, &p, 10);
if (*p)
p++;
- frame_height = strtol(p, (char **)&p, 10);
+ frame_height = strtol(p, &p, 10);
}
if (frame_width <= 0 || frame_height <= 0)
return -1;
More information about the ffmpeg-cvslog
mailing list