You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Don't write an empty spdif header in spdif muxers write_header function before actual data starts.
Patch by Elupus. Originally committed as revision 22814 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
		
				
					committed by
					
						 Benjamin Larsson
						Benjamin Larsson
					
				
			
			
				
	
			
			
			
						parent
						
							e0728d7991
						
					
				
				
					commit
					c6cf6ae69d
				
			| @@ -238,10 +238,6 @@ static int spdif_write_header(AVFormatContext *s) | ||||
|         av_log(s, AV_LOG_ERROR, "codec not supported\n"); | ||||
|         return -1; | ||||
|     } | ||||
|     put_le16(s->pb, 0); | ||||
|     put_le16(s->pb, 0); | ||||
|     put_le16(s->pb, 0); | ||||
|     put_le16(s->pb, 0); | ||||
|     return 0; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user