You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	lavf: fix typos
Signed-off-by: Moritz Barsnick <barsnick@gmx.net> Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							f4e4bde1f4
						
					
				
				
					commit
					468c596a31
				
			| @@ -516,7 +516,7 @@ static int hls_window(AVFormatContext *s, int last) | ||||
|     } | ||||
|  | ||||
|     if (!use_rename && !warned_non_file++) | ||||
|         av_log(s, AV_LOG_ERROR, "Cannot use rename on non file protocol, this may lead to races and temporarly partial files\n"); | ||||
|         av_log(s, AV_LOG_ERROR, "Cannot use rename on non file protocol, this may lead to races and temporary partial files\n"); | ||||
|  | ||||
|     set_http_options(&options, hls); | ||||
|     snprintf(temp_filename, sizeof(temp_filename), use_rename ? "%s.tmp" : "%s", s->filename); | ||||
| @@ -686,7 +686,7 @@ static int hls_start(AVFormatContext *s) | ||||
|         } else if (av_get_frame_filename2(oc->filename, sizeof(oc->filename), | ||||
|                                   c->basename, c->wrap ? c->sequence % c->wrap : c->sequence, | ||||
|                                   AV_FRAME_FILENAME_FLAGS_MULTIPLE) < 0) { | ||||
|             av_log(oc, AV_LOG_ERROR, "Invalid segment filename template '%s' you can try use -use_localtime 1 with it\n", c->basename); | ||||
|             av_log(oc, AV_LOG_ERROR, "Invalid segment filename template '%s' you can try to use -use_localtime 1 with it\n", c->basename); | ||||
|             return AVERROR(EINVAL); | ||||
|         } | ||||
|         if( c->vtt_basename) { | ||||
|   | ||||
| @@ -84,7 +84,7 @@ static uint64_t vp8_gptopts(AVFormatContext *s, int idx, | ||||
|  | ||||
|     int invcnt    = !((granule >> 30) & 3); | ||||
|     // If page granule is that of an invisible vp8 frame, its pts will be | ||||
|     // that of the end of the next visible frame. We substract 1 for those | ||||
|     // that of the end of the next visible frame. We subtract 1 for those | ||||
|     // to prevent messing up pts calculations. | ||||
|     uint64_t pts  = (granule >> 32) - invcnt; | ||||
|     uint32_t dist = (granule >>  3) & 0x07ffffff; | ||||
|   | ||||
| @@ -518,7 +518,7 @@ bitmap_end_skip: | ||||
|         } | ||||
|     skip: | ||||
|         if(len<0) | ||||
|             av_log(s, AV_LOG_WARNING, "Cliping len %d\n", len); | ||||
|             av_log(s, AV_LOG_WARNING, "Clipping len %d\n", len); | ||||
|         len = FFMAX(0, len); | ||||
|         avio_skip(pb, len); | ||||
|     } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user