You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Merge commit '6b45f05ef5b241fd1513702119af9c30056a0ac5'
* commit '6b45f05ef5b241fd1513702119af9c30056a0ac5':
  parseutils: fix discarding const attribute warning
Conflicts:
	libavutil/parseutils.c
See: fe87b2e79c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
			
			
This commit is contained in:
		| @@ -613,12 +613,14 @@ int av_parse_time(int64_t *timeval, const char *timestr, int duration) | ||||
|             dt.tm_hour = 0; | ||||
|         } | ||||
|         if (!q) { | ||||
|             char *o; | ||||
|             /* parse timestr as S+ */ | ||||
|             dt.tm_sec = strtol(p, (void *)&q, 10); | ||||
|             if (q == p) /* the parsing didn't succeed */ | ||||
|             dt.tm_sec = strtol(p, &o, 10); | ||||
|             if (o == p) /* the parsing didn't succeed */ | ||||
|                 return AVERROR(EINVAL); | ||||
|             dt.tm_min = 0; | ||||
|             dt.tm_hour = 0; | ||||
|             q = o; | ||||
|         } | ||||
|     } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user