mirror of
				https://git.ffmpeg.org/ffmpeg.git
				synced 2025-10-30 23:30:55 +00:00 
			
		
		
		
	replace ENOTSUP by AVERROR_PATCHWELCOME
This unbreaks compilation Found by: jb Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							parent
							
								
									d1c1e350c6
								
							
						
					
					
						commit
						154c0a8c98
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		|  | @ -40,7 +40,7 @@ static int ff_celt_error_to_averror(int err) | |||
| #endif | ||||
|         case CELT_INTERNAL_ERROR:   return AVERROR(EFAULT); | ||||
|         case CELT_CORRUPTED_DATA:   return AVERROR_INVALIDDATA; | ||||
|         case CELT_UNIMPLEMENTED:    return AVERROR(ENOTSUP); | ||||
|         case CELT_UNIMPLEMENTED:    return AVERROR_PATCHWELCOME; | ||||
| #ifdef ENOTRECOVERABLE | ||||
|         case CELT_INVALID_STATE:    return AVERROR(ENOTRECOVERABLE); | ||||
| #endif | ||||
|  |  | |||
|  | @ -1467,7 +1467,7 @@ static int sbg_read_seek2(AVFormatContext *avf, int stream_index, | |||
|                           int64_t min_ts, int64_t ts, int64_t max_ts, int flags) | ||||
| { | ||||
|     if (flags || stream_index > 0) | ||||
|         return AVERROR(ENOTSUP); | ||||
|         return AVERROR_PATCHWELCOME; | ||||
|     if (stream_index < 0) | ||||
|         ts = av_rescale_q(ts, AV_TIME_BASE_Q, avf->streams[0]->time_base); | ||||
|     avf->streams[0]->cur_dts = ts; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Michael Niedermayer
						Michael Niedermayer