You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	avformat/mpegtsenc: Fix build with msvc
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
				
					committed by
					
						 Michael Niedermayer
						Michael Niedermayer
					
				
			
			
				
	
			
			
			
						parent
						
							63186ac5f1
						
					
				
				
					commit
					22504396fe
				
			| @@ -57,6 +57,16 @@ typedef struct MpegTSService { | ||||
|     int pcr_packet_period; | ||||
| } MpegTSService; | ||||
|  | ||||
| // service_type values as defined in ETSI 300 468 | ||||
| enum { | ||||
|     MPEGTS_SERVICE_TYPE_DIGITAL_TV                   = 0x01, | ||||
|     MPEGTS_SERVICE_TYPE_DIGITAL_RADIO                = 0x02, | ||||
|     MPEGTS_SERVICE_TYPE_TELETEXT                     = 0x03, | ||||
|     MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_RADIO = 0x0A, | ||||
|     MPEGTS_SERVICE_TYPE_MPEG2_DIGITAL_HDTV           = 0x11, | ||||
|     MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_SDTV  = 0x16, | ||||
|     MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_HDTV  = 0x19 | ||||
| }; | ||||
| typedef struct MpegTSWrite { | ||||
|     const AVClass *av_class; | ||||
|     MpegTSSection pat; /* MPEG2 pat table */ | ||||
| @@ -77,16 +87,6 @@ typedef struct MpegTSWrite { | ||||
|     int original_network_id; | ||||
|     int service_id; | ||||
|     int service_type; | ||||
| // service_type values as defined in ETSI 300 468 | ||||
|    enum { | ||||
|      MPEGTS_SERVICE_TYPE_DIGITAL_TV                   = 0x01, | ||||
|      MPEGTS_SERVICE_TYPE_DIGITAL_RADIO                = 0x02, | ||||
|      MPEGTS_SERVICE_TYPE_TELETEXT                     = 0x03, | ||||
|      MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_RADIO = 0x0A, | ||||
|      MPEGTS_SERVICE_TYPE_MPEG2_DIGITAL_HDTV           = 0x11, | ||||
|      MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_SDTV  = 0x16, | ||||
|      MPEGTS_SERVICE_TYPE_ADVANCED_CODEC_DIGITAL_HDTV  = 0x19 | ||||
|    }; | ||||
|  | ||||
|     int pmt_start_pid; | ||||
|     int start_pid; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user