From 8468664bd88a7e7f1c06c6bd44a9b13e25313e4f Mon Sep 17 00:00:00 2001 From: Baptiste Coudurier Date: Sun, 8 Feb 2009 06:11:50 +0000 Subject: [PATCH] Remove 'const' qualifier from variable in av_parse_video_frame_size(). Thus only one warning is printed due to assignment instead of 2 from strtol. Originally committed as revision 17045 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavcodec/utils.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 9720b9179b..000a6e798e 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -1032,7 +1032,7 @@ int av_parse_video_frame_size(int *width_ptr, int *height_ptr, const char *str) { 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