You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	dv: Move a table used only by the demuxer out of a shared header.
This commit is contained in:
		| @@ -95,10 +95,6 @@ static const uint8_t dv_audio_shuffle625[12][9] = { | |||||||
|   {  31,  67, 103,  21,  57,  93,  11,  47,  83}, |   {  31,  67, 103,  21,  57,  93,  11,  47,  83}, | ||||||
| }; | }; | ||||||
|  |  | ||||||
| static const av_unused int dv_audio_frequency[3] = { |  | ||||||
|     48000, 44100, 32000, |  | ||||||
| }; |  | ||||||
|  |  | ||||||
| /* macroblock bit budgets */ | /* macroblock bit budgets */ | ||||||
| static const uint8_t block_sizes_dv2550[8] = { | static const uint8_t block_sizes_dv2550[8] = { | ||||||
|     112, 112, 112, 112, 80, 80, 0, 0, |     112, 112, 112, 112, 80, 80, 0, 0, | ||||||
|   | |||||||
| @@ -94,6 +94,10 @@ static const uint8_t* dv_extract_pack(uint8_t* frame, enum dv_pack_type t) | |||||||
|     return frame[offs] == t ? &frame[offs] : NULL; |     return frame[offs] == t ? &frame[offs] : NULL; | ||||||
| } | } | ||||||
|  |  | ||||||
|  | static const int dv_audio_frequency[3] = { | ||||||
|  |     48000, 44100, 32000, | ||||||
|  | }; | ||||||
|  |  | ||||||
| /* | /* | ||||||
|  * There's a couple of assumptions being made here: |  * There's a couple of assumptions being made here: | ||||||
|  * 1. By default we silence erroneous (0x8000/16bit 0x800/12bit) audio samples. |  * 1. By default we silence erroneous (0x8000/16bit 0x800/12bit) audio samples. | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user