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