You've already forked FFmpeg
							
							
				mirror of
				https://github.com/FFmpeg/FFmpeg.git
				synced 2025-10-30 23:18:11 +02:00 
			
		
		
		
	Merge remote-tracking branch 'qatar/master'
* qatar/master: mpegts: Make sure we don't return uninitialized packets gitignore: replace library catch-all pattern by more specific patterns Conflicts: .gitignore Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
		
							
								
								
									
										14
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										14
									
								
								.gitignore
									
									
									
									
										vendored
									
									
								
							| @@ -1,9 +1,14 @@ | ||||
| .config | ||||
| .version | ||||
| *.a | ||||
| *.o | ||||
| *.d | ||||
| *.exe | ||||
| *.ho | ||||
| *.pc | ||||
| *.so | ||||
| *.so.* | ||||
| *.ver | ||||
| *-example | ||||
| *-test | ||||
| *_g | ||||
| @@ -29,16 +34,7 @@ libavcodec/*_tablegen | ||||
| libavcodec/*_tables.c | ||||
| libavcodec/*_tables.h | ||||
| libavcodec/codec_names.h | ||||
| libavcodec/libavcodec* | ||||
| libavcore/libavcore* | ||||
| libavdevice/libavdevice* | ||||
| libavfilter/libavfilter* | ||||
| libavformat/libavformat* | ||||
| libavutil/avconfig.h | ||||
| libavutil/libavutil* | ||||
| libpostproc/libpostproc* | ||||
| libswresample/libswresample* | ||||
| libswscale/libswscale* | ||||
| tests/audiogen | ||||
| tests/base64 | ||||
| tests/data | ||||
|   | ||||
| @@ -2074,6 +2074,7 @@ static int mpegts_read_packet(AVFormatContext *s, | ||||
|     MpegTSContext *ts = s->priv_data; | ||||
|     int ret, i; | ||||
|  | ||||
|     pkt->size = -1; | ||||
|     ts->pkt = pkt; | ||||
|     ret = handle_packets(ts, 0); | ||||
|     if (ret < 0) { | ||||
| @@ -2091,6 +2092,8 @@ static int mpegts_read_packet(AVFormatContext *s, | ||||
|         } | ||||
|     } | ||||
|  | ||||
|     if (!ret && pkt->size < 0) | ||||
|         ret = AVERROR(EINTR); | ||||
|     return ret; | ||||
| } | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user