3035d21b5a 
								
							
								 
							
						 
						
							
							
								
								nutdec: Check memory allocations  
							
							Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9deaec7828 
								
							
								 
							
						 
						
							
							
								
								lavf: move internal fields from public to internal context  
							
							This is not an API change; the fields were explicitly declared private
before.
Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						10 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								05e59135b3 
								
							
								 
							
						 
						
							
							
								
								nutdec: do not set has_b_frames  
							
							It is not supposed to be set by demuxers. 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								af7ca6ea12 
								
							
								 
							
						 
						
							
							
								
								nutdec: check av_new_packet return value  
							
							CC: libav-stable@libav.org 
Bug-Id: CID 733713 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								96bfb67747 
								
							
								 
							
						 
						
							
							
								
								nutdec: Prevent a memory corruption  
							
							Chapters do not have an event_flags field.
Bug-Id: CID 1231990 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fa3a5dd4de 
								
							
								 
							
						 
						
							
							
								
								nutdec: update AVFormatContext.event_flags with STREAM_/METADATA_UPDATED whenever metadata changes.  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								52a1c32c0a 
								
							
								 
							
						 
						
							
							
								
								nut: Use nut->version in the version range check  
							
							It was wrongly left unchanged when the version field had been
introduced. (c94e2e85cb 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c94e2e85cb 
								
							
								 
							
						 
						
							
							
								
								nut: Support experimental NUT 4 features  
							
							Add the low overhead pipe mode and the extended broadcast mode.
Export the options as 'syncponts' since it impacts only that.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						11 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b1fcdc08ce 
								
							
								 
							
						 
						
							
							
								
								nut: Fix unchecked allocations  
							
							CC: libav-stable@libav.org 
Signed-off-by: Derek Buitenhuis <derek.buitenhuis@gmail.com> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e0c53c3408 
								
							
								 
							
						 
						
							
							
								
								nut: use meaningful error values  
							
							Fix the mispresented EINVAL for EOF on partial files, among the other. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								46c1917350 
								
							
								 
							
						 
						
							
							
								
								nut: use a define for the nut version  
							
							Ease switching version in the future and make evident why that value. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8c772de53 
								
							
								 
							
						 
						
							
							
								
								nutdec: Always return a value from nut_read_timestamp()  
							
							The function is a callback that is called by ff_gen_search with
a constant stream index.
Avoid a false positive on older gcc version.
Signed-off-by: Luca Barbato <lu_zero@gentoo.org> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bfe5454cd2 
								
							
								 
							
						 
						
							
							
								
								lavf: move ff_codec_get_tag() and ff_codec_get_id() definitions to internal.h  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d4bff9f1ab 
								
							
								 
							
						 
						
							
							
								
								nut: support textual data  
							
							Plain text (utf8 encoded) data can be muxed and demuxed in nut. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								92281850a2 
								
							
								 
							
						 
						
							
							
								
								nut: support pcm codecs not mapped in avi  
							
							The native tags will be used when available. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1bd442c276 
								
							
								 
							
						 
						
							
							
								
								nut: prioritize native tags  
							
							Use native tags instead of avi ones, simplifies a lot raw video codecs
handling. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								72d30b2792 
								
							
								 
							
						 
						
							
							
								
								nut: add do {} while (0) to GET_V  
							
							Make it consistent with the other function-like macros. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								83655442fa 
								
							
								 
							
						 
						
							
							
								
								nutdec: Remove unused and broken debug function stub  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								93e81ee81c 
								
							
								 
							
						 
						
							
							
								
								nutdec: const correctness for get_v_trace/get_s_trace function arguments  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6774247a9d 
								
							
								 
							
						 
						
							
							
								
								avformat: Drop pointless "format" from container long names  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d72c0527c 
								
							
								 
							
						 
						
							
							
								
								nutdec: add malloc check and fix const to non-const conversion warnings  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								679481b3b6 
								
							
								 
							
						 
						
							
							
								
								Drop some pointless #ifdefs.  
							
							The files are only compiled if the #ifdef conditions are met. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a559d65c07 
								
							
								 
							
						 
						
							
							
								
								nutdec: K&R formatting cosmetics  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								20234a4bd7 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Align muxer/demuxer declarations  
							
							Also add missing trailing commas, break long codec_tag lines and
add spaces in codec_tag declarations.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e9651d106 
								
							
								 
							
						 
						
							
							
								
								lavf: remove AVFormatParameters from AVFormatContext.read_header signature  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c3f9ebf743 
								
							
								 
							
						 
						
							
							
								
								lavf: make av_set_pts_info private.  
							
							It's supposed to be called only from (de)muxers. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								bb3244dee2 
								
							
								 
							
						 
						
							
							
								
								Replace all usage of strcasecmp/strncasecmp  
							
							All current usages of it are incompatible with localization.
For example strcasecmp("i", "I") != 0 is possible, but would
break many of the places where it is used.
Instead use our own implementations that always treat the data
as ASCII.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fa395e471 
								
							
								 
							
						 
						
							
							
								
								lavf: use avpriv_ prefix for ff_new_chapter().  
							
							It's used in libavdevice. 
							
						 
						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  
				
					
						
							
							
								 
						
							
							
							
								
							
								dfc2c4d900 
								
							
								 
							
						 
						
							
							
								
								lavf: use designated initialisers for all (de)muxers.  
							
							It's more readable and less prone to breakage. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ebcdf5cda 
								
							
								 
							
						 
						
							
							
								
								Do not include mathematics.h in avutil.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2d67e424f 
								
							
								 
							
						 
						
							
							
								
								Remove all uses of now deprecated metadata functions.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								14086341bf 
								
							
								 
							
						 
						
							
							
								
								nutdec: remove unused variable  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								761ad42968 
								
							
								 
							
						 
						
							
							
								
								lavf: remove FF_API_MAX_STREAMS cruft  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8978fedaee 
								
							
								 
							
						 
						
							
							
								
								avio: introduce an AVIOContext.seekable field  
							
							Use it instead of url_is_streamed and AVIOContext.is_streamed. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b64030f26d 
								
							
								 
							
						 
						
							
							
								
								avio: make get_checksum() internal.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4c4427a75d 
								
							
								 
							
						 
						
							
							
								
								avio: make init_checksum() internal.  
							
							
								
							
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2912e87a6c 
								
							
								 
							
						 
						
							
							
								
								Replace FFmpeg with Libav in licence headers  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4839c192de 
								
							
								 
							
						 
						
							
							
								
								lavf: move ff_get_v from avio.h to avio_internal.h  
							
							And rename it to ffio_read_varlen.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								45a8a02a41 
								
							
								 
							
						 
						
							
							
								
								lavf: replace avio_seek(SEEK_CUR) with avio_skip where it makes sense  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								66e5b1df36 
								
							
								 
							
						 
						
							
							
								
								avio: deprecate url_feof  
							
							AVIOContext.eof_reached should be used directly instead.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								76aa876e69 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fsize  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2704c9712 
								
							
								 
							
						 
						
							
							
								
								avio: add avio_tell macro as a replacement for url_ftell  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e356fc57a2 
								
							
								 
							
						 
						
							
							
								
								lavf: replace all uses of url_fskip with avio_seek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6b4aa5dac8 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefix for url_fseek  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7effd4e83 
								
							
								 
							
						 
						
							
							
								
								avio: avio_ prefixes for get_* functions  
							
							In the name of consistency:
get_byte           -> avio_r8
get_<type>         -> avio_r<type>
get_buffer         -> avio_read
get_partial_buffer will be made private later
get_strz is left out becase I want to change it later to return
something useful.
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ae628ec1fd 
								
							
								 
							
						 
						
							
							
								
								avio: rename ByteIOContext to AVIOContext.  
							
							Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c6610a216e 
								
							
								 
							
						 
						
							
							
								
								Prefix all _demuxer, _muxer, _protocol from libavformat and libavdevice.  
							
							This also lists the objects from those two libraries as internal (by adding
the ff_ prefix) so that they can then be hidden via linker scripts. 
							
						 
						14 years ago