1aa708988a 
								
							
								 
							
						 
						
							
							
								
								mpegts: Pad the packet buffer in handle_packet().  
							
							This allows it to be used with get_bits without the thread of overreads.
Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4df369692e 
								
							
								 
							
						 
						
							
							
								
								mpegts: Do not call read_sl_header() when no bytes remain in the buffer.  
							
							Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
CC: libav-stable@libav.org  
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e9651d106 
								
							
								 
							
						 
						
							
							
								
								lavf: remove AVFormatParameters from AVFormatContext.read_header signature  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								41bdd4adc4 
								
							
								 
							
						 
						
							
							
								
								mpegts: Suppress invalid timebase warnings on DMB streams.  
							
							timestamp_len and timestamp_res intialize to zero. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d9b89b23df 
								
							
								 
							
						 
						
							
							
								
								mpegts: Fix typo in handling sections in the PMT.  
							
							This was an error rebasing 4682a1dc3a 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								65a25adc97 
								
							
								 
							
						 
						
							
							
								
								mpegts: replace some magic numbers with the existing define  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cd3716b9aa 
								
							
								 
							
						 
						
							
							
								
								Replace all uses of av_close_input_file() with avformat_close_input().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3a7f7678eb 
								
							
								 
							
						 
						
							
							
								
								lavf: deprecate av_close_input_stream().  
							
							And remove all its uses. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da9cea77e3 
								
							
								 
							
						 
						
							
							
								
								Fix a bunch of common typos.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3110ad8329 
								
							
								 
							
						 
						
							
							
								
								mpegts: set stream id on just created stream, not an unrelated variable  
							
							Bug introduced in 84ad31ff18 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								124e28847b 
								
							
								 
							
						 
						
							
							
								
								Remove some stray unnecessary ffmpeg references.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ca65932bbf 
								
							
								 
							
						 
						
							
							
								
								mpegts: MP4 SL support  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c530267024 
								
							
								 
							
						 
						
							
							
								
								mpegts: MP4 OD support  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4682a1dc3a 
								
							
								 
							
						 
						
							
							
								
								mpegts: Add support for Sections in PMT  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fec2836483 
								
							
								 
							
						 
						
							
							
								
								mpegts: Replace the MP4 descriptor parser with a recursive parser.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3bc6096f2 
								
							
								 
							
						 
						
							
							
								
								mpegts: Add support for multiple mp4 descriptors  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								476d04a56a 
								
							
								 
							
						 
						
							
							
								
								mpegts: Parse mpeg2 SL descriptors.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2faa95151 
								
							
								 
							
						 
						
							
							
								
								lavf: make some seeking functions private  
							
							Specifically av_update_cur_dts(), av_seek_frame_binary() and
av_gen_search().
They are not supposed to be called outside lavf. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								84ad31ff18 
								
							
								 
							
						 
						
							
							
								
								lavf: replace av_new_stream->avformat_new_stream part II.  
							
							Manual replacements are done in this commit.
In many cases, the id is some constant made up number (e.g. 0 for video
and 1 for audio), which is then not used in the demuxer for anything.
Those ids are removed. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3b3bbdd3e6 
								
							
								 
							
						 
						
							
							
								
								lavf,lavd: replace av_new_stream->avformat_new_stream part I.  
							
							Trivial replacements with sed are done in this commit:
sed 's/av_new_stream(\([^)]*\), 0)/avformat_new_stream(\1, NULL)/' 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								145f741e11 
								
							
								 
							
						 
						
							
							
								
								AVOptions: rename FF_OPT_TYPE_* => AV_OPT_TYPE_*  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35a6855868 
								
							
								 
							
						 
						
							
							
								
								Fix av_dlog invocations with wrong or missing logging context.  
							
							This fixes build failures with -DDEBUG in CPPFLAGS. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f1f15c3c1a 
								
							
								 
							
						 
						
							
							
								
								mpegts: improve error reporting  
							
							When reporting continuity error show pid, expected and received cc.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								162f1fbc14 
								
							
								 
							
						 
						
							
							
								
								mpegts: on seek, reset the cc for all PIDs  
							
							Prevent false positive continuity counter error logs.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad6c7c1b52 
								
							
								 
							
						 
						
							
							
								
								mp4: Handle non-trivial ES Descriptors.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8b999e2d0 
								
							
								 
							
						 
						
							
							
								
								mpegts: log into an AVFormatContext rather than MpegTSContext.  
							
							MpegTSContext's AVClass member can be NULL. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c14fe6bc99 
								
							
								 
							
						 
						
							
							
								
								lavf,lavd: remove all usage of AVFormatParameters from demuxers.  
							
							AVFormatParameters are converted into corresponding private options in
av_open_input_file/stream() compat wrappers, so accessing them from
demuxers is redundant. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5081514269 
								
							
								 
							
						 
						
							
							
								
								mpegts: Mark wrongly-sized packets as corrupted  
							
							Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cdb9884a63 
								
							
								 
							
						 
						
							
							
								
								mpegts: Move scan test to handle_packets  
							
							This fixes an issue where packets which start being read
while reading the header stick around after a seek.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce9e31655e 
								
							
								 
							
						 
						
							
							
								
								mpegts: Mark corrupted packets  
							
							Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c64f80b0e8 
								
							
								 
							
						 
						
							
							
								
								mpegts: Reset continuity counter on seek  
							
							Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8b9df201df 
								
							
								 
							
						 
						
							
							
								
								mpegts: Fix for continuity counter  
							
							Make continuity counter respect discontinuity flag
and null packets. Unpack the adaptation_field_control field.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								be9c00615b 
								
							
								 
							
						 
						
							
							
								
								mpegts: Silence "can't seek" warning on unseekable  
							
							Do not try to seek when we already know we are not allowed to.
Silences warning that always happens when streaming.
Signed-off-by: Zohar Kelrich <lumimies@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								298c4e3c52 
								
							
								 
							
						 
						
							
							
								
								mpegts: remove invalid error check  
							
							mpegts_read_header is used by both mpegts and mpegtsraw, so this
erro check is no longer valid.
Signed-off-by: Mike Williams <mike@mikebwilliams.com>
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfc2c4d900 
								
							
								 
							
						 
						
							
							
								
								lavf: use designated initialisers for all (de)muxers.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8923cfa328 
								
							
								 
							
						 
						
							
							
								
								mpegts: fix Continuity Counter error detection  
							
							According to MPEG-TS specs, the continuity_counter shall not be
incremented when the adaptation_field_control of the packet
equals '00' or '10'.
Signed-off-by: Jindrich Makovicka <jindrich.makovicka@nangu.tv>
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3f751e603 
								
							
								 
							
						 
						
							
							
								
								Add some missing mathematics.h #includes for av_rescale().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								adbfc605f6 
								
							
								 
							
						 
						
							
							
								
								doxygen: Consistently use '@' instead of '\' for Doxygen markup.  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								919d7a345a 
								
							
								 
							
						 
						
							
							
								
								Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d67e424f 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of now deprecated metadata functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								43b6c3eb18 
								
							
								 
							
						 
						
							
							
								
								mpegts: Wrap #ifdef DEBUG and av_hex_dump_log() combination in a macro.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b751f61106 
								
							
								 
							
						 
						
							
							
								
								Remove stray extra arguments from av_dlog() invocations.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fb37d57347 
								
							
								 
							
						 
						
							
							
								
								lavf: deprecate AVFormatParameters.mpeg2ts_raw.  
							
							It doesn't do anything except produce an error message when set. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								17a5556db5 
								
							
								 
							
						 
						
							
							
								
								mpegts: add compute_pcr option.  
							
							Deprecate the corresponding AVFormatParameters field. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6ae38aa3ce 
								
							
								 
							
						 
						
							
							
								
								mpegts: do not output known sized packet if an unbounded packet is already queued.  
							
							Fix issue #2624 .
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9aa91043f3 
								
							
								 
							
						 
						
							
							
								
								Port SMPTE S302M audio decoder from FFmbc 0.3.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2e15305b70 
								
							
								 
							
						 
						
							
							
								
								Remove some disabled printf debug cruft.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								045dd4b928 
								
							
								 
							
						 
						
							
							
								
								Replace some commented-out debug printf() / av_log() messages with av_dlog().  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								761ad42968 
								
							
								 
							
						 
						
							
							
								
								lavf: remove FF_API_MAX_STREAMS cruft  
							
							
								
							
							
						 
						14 years ago