You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avformat/movenc: Remove experimental status of flac-in-MP4 muxing
The fLaC and dfLa box IDs have been registered with the MP4 RA (they are now listed at https://mp4ra.org/#/codecs) and support for muxing FLAC in MP4 has been experimental in ffmpeg for 6 years now, since Nov 21, 2016 This patch removes the experimental status and removes the MP4 object type, as none has been registered for FLAC as it was not deemed necessary. Signed-off-by: Anton Khirnov <anton@khirnov.net>
This commit is contained in:
		
				
					committed by
					
						 Anton Khirnov
						Anton Khirnov
					
				
			
			
				
	
			
			
			
						parent
						
							2d8d7f8592
						
					
				
				
					commit
					ed07ba641a
				
			| @@ -61,7 +61,6 @@ const AVCodecTag ff_mp4_obj_type[] = { | ||||
|     { AV_CODEC_ID_DTS         , 0xA9 }, /* mp4ra.org */ | ||||
|     { AV_CODEC_ID_OPUS        , 0xAD }, /* mp4ra.org */ | ||||
|     { AV_CODEC_ID_VP9         , 0xB1 }, /* mp4ra.org */ | ||||
|     { AV_CODEC_ID_FLAC        , 0xC1 }, /* nonstandard, update when there is a standard value */ | ||||
|     { AV_CODEC_ID_TSCC2       , 0xD0 }, /* nonstandard, camtasia uses it */ | ||||
|     { AV_CODEC_ID_EVRC        , 0xD1 }, /* nonstandard, pvAuthor uses it */ | ||||
|     { AV_CODEC_ID_VORBIS      , 0xDD }, /* nonstandard, gpac uses it */ | ||||
|   | ||||
| @@ -332,7 +332,7 @@ const AVCodecTag ff_codec_movaudio_tags[] = { | ||||
|     { AV_CODEC_ID_SPEEX,           MKTAG('S', 'P', 'X', 'N') }, /* ZygoAudio (quality 10 mode) */ | ||||
|     { AV_CODEC_ID_EVRC,            MKTAG('s', 'e', 'v', 'c') }, /* 3GPP2 */ | ||||
|     { AV_CODEC_ID_SMV,             MKTAG('s', 's', 'm', 'v') }, /* 3GPP2 */ | ||||
|     { AV_CODEC_ID_FLAC,            MKTAG('f', 'L', 'a', 'C') }, /* nonstandard */ | ||||
|     { AV_CODEC_ID_FLAC,            MKTAG('f', 'L', 'a', 'C') }, | ||||
|     { AV_CODEC_ID_TRUEHD,          MKTAG('m', 'l', 'p', 'a') }, /* mp4ra.org */ | ||||
|     { AV_CODEC_ID_OPUS,            MKTAG('O', 'p', 'u', 's') }, /* mp4ra.org */ | ||||
|     { AV_CODEC_ID_MPEGH_3D_AUDIO,  MKTAG('m', 'h', 'm', '1') }, /* MPEG-H 3D Audio bitstream */ | ||||
|   | ||||
| @@ -7160,7 +7160,7 @@ static int mov_init(AVFormatContext *s) | ||||
|                     av_log(s, AV_LOG_ERROR, "%s only supported in MP4.\n", avcodec_get_name(track->par->codec_id)); | ||||
|                     return AVERROR(EINVAL); | ||||
|                 } | ||||
|                 if (track->par->codec_id != AV_CODEC_ID_OPUS && | ||||
|                 if (track->par->codec_id == AV_CODEC_ID_TRUEHD && | ||||
|                     s->strict_std_compliance > FF_COMPLIANCE_EXPERIMENTAL) { | ||||
|                     av_log(s, AV_LOG_ERROR, | ||||
|                            "%s in MP4 support is experimental, add " | ||||
|   | ||||
		Reference in New Issue
	
	Block a user