e743e7ae6e 
								
							
								 
							
						 
						
							
							
								
								libavutil: Make avpriv_open a library-internal function on msvcrt  
							
							Add one copy of the function into each of the libraries, similarly
to what we do for log2_tab. When using static libs, only one
copy of the file_open.o object file gets included, while when
using shared libraries, each of them get a copy of its own.
This fixes DLL builds with a statically linked C runtime, where
each DLL effectively has got its own instance of the C runtime,
where file descriptors can't be shared across runtimes.
On systems not using msvcrt, the function is not duplicated.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb0244daac 
								
							
								 
							
						 
						
							
							
								
								bktr: Changed a missed occurrance of open into avpriv_open  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								71bf6b41d9 
								
							
								 
							
						 
						
							
							
								
								libavdevice: use avpriv_open()  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7950e519bb 
								
							
								 
							
						 
						
							
							
								
								Disable deprecation warnings for cases where a replacement is available  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2832ea26f3 
								
							
								 
							
						 
						
							
							
								
								Remove commented-out debug #define cruft  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a5f8873620 
								
							
								 
							
						 
						
							
							
								
								silly typo fixes  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fdaacc5932 
								
							
								 
							
						 
						
							
							
								
								sndio_dec: Add missing includes for av_gettime()  
							
							This is necessary after the old av_gettime in libavformat was
dropped.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								fe2661121e 
								
							
								 
							
						 
						
							
							
								
								bktr: Add missing includes for av_gettime()  
							
							This is necessary after the old av_gettime in libavformat was
dropped.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d8b31be6ca 
								
							
								 
							
						 
						
							
							
								
								Add the bumps and APIchanges entries for reference counted buffers changes.  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1afddbe59e 
								
							
								 
							
						 
						
							
							
								
								avpacket: use AVBuffer to allow refcounting the packets.  
							
							This will allow us to avoid copying the packets in many cases.
This breaks ABI. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								43e0e0c4e5 
								
							
								 
							
						 
						
							
							
								
								libcdio: support recent cdio-paranoia  
							
							Upstream decided to split the paranoia interface and move the headers
accordingly. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								49dc82eef7 
								
							
								 
							
						 
						
							
							
								
								v4l2: do not assert on a value received from outside of Libav  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								838b849e70 
								
							
								 
							
						 
						
							
							
								
								v4l2: set the average framerate instead of codec timebase.  
							
							Codec timebase is supposed to be set by decoders only. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								246da0b135 
								
							
								 
							
						 
						
							
							
								
								v4l2: avoid pointless indirection.  
							
							v4l2_read_header() does no cleanup, so it can return directly, without
any need for goto. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3048fae63c 
								
							
								 
							
						 
						
							
							
								
								build: Avoid detecting bogus components named 'x'  
							
							The function find_things() in configure is confused by component
registration calls as part of multiline macros defining combined
component registration.  Coalesce those macros into one line to
work around the issue.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c73c87b412 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Prettyprint codec/format/filter registration files  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								511cf612ac 
								
							
								 
							
						 
						
							
							
								
								miscellaneous typo fixes  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb45553f57 
								
							
								 
							
						 
						
							
							
								
								Remove pointless #undefs of previously forbidden functions.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a903f8f087 
								
							
								 
							
						 
						
							
							
								
								Include libavutil/channel_layout.h instead of libavutil/audioconvert.h  
							
							Also reorder some other #include when applicable. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e1c804d883 
								
							
								 
							
						 
						
							
							
								
								dv1394: Swap the min and max values of the 'standard' option  
							
							DV1394_NTSC has a lower value than DV1394_PAL.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								22c8cbc0da 
								
							
								 
							
						 
						
							
							
								
								lavu,lavd: do not use av_pix_fmt_descriptors directly.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								716d413c13 
								
							
								 
							
						 
						
							
							
								
								Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								62ae37decd 
								
							
								 
							
						 
						
							
							
								
								timefilter: De-doxygenize normal code comments and drop silly ones  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e4cbf7529b 
								
							
								 
							
						 
						
							
							
								
								Give all anonymously typedeffed structs in headers a name  
							
							Anonymous structs cannot be forward declared and have no benefit. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								14d3e7ad11 
								
							
								 
							
						 
						
							
							
								
								Remove some silly disabled code.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e6153f173a 
								
							
								 
							
						 
						
							
							
								
								avopt: Store defaults for AV_OPT_TYPE_INT in the i64 union member  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d58dd4b5b5 
								
							
								 
							
						 
						
							
							
								
								avopt: Store defaults for AV_OPT_TYPE_FLAGS in the i64 union member  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								124134e424 
								
							
								 
							
						 
						
							
							
								
								avopt: Store defaults for AV_OPT_TYPE_CONST in the i64 union member  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1d9c2dc89a 
								
							
								 
							
						 
						
							
							
								
								Don't include common.h from avutil.h  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								36ef5369ee 
								
							
								 
							
						 
						
							
							
								
								Replace all CODEC_ID_* with AV_CODEC_ID_*  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0177b7d23a 
								
							
								 
							
						 
						
							
							
								
								Improve descriptiveness of a number of codec and container long names  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c4ef6a3e4b 
								
							
								 
							
						 
						
							
							
								
								Add missing libavutil/time.h includes.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								24f8961f93 
								
							
								 
							
						 
						
							
							
								
								x11grab: cosmetics: consistent naming for x11grab-related things  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2047e40e6e 
								
							
								 
							
						 
						
							
							
								
								Clarify Doxygen comment for FF_API_* #defines.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								86ab7b0f2f 
								
							
								 
							
						 
						
							
							
								
								Create version.h headers for libraries that lack them  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6501dcfb5e 
								
							
								 
							
						 
						
							
							
								
								Remove unnecessary inclusions of [sys/]time.h  
							
							Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d246c18ea6 
								
							
								 
							
						 
						
							
							
								
								Avoid C99 variable declarations within for statements.  
							
							We generally do not declare variables within for statements and
there are compilers that choke on such constructs. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8772997d10 
								
							
								 
							
						 
						
							
							
								
								jack: update to new latency range API as the old one has been deprecated  
							
							Fixes Bugzilla #279 .
Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9eb83a56aa 
								
							
								 
							
						 
						
							
							
								
								build: cosmetics: Split HEADERS/OBJS/PROGS lists into one entry per line.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3dde147ff9 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Consistently place static, inline and av_cold attributes/keywords.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a92be9b856 
								
							
								 
							
						 
						
							
							
								
								Replace memset(0) by zero initializations.  
							
							Also remove one pointless zero initialization in rangecoder.c. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d3958ab4ed 
								
							
								 
							
						 
						
							
							
								
								x11grab: fix a memory leak exposed by valgrind  
							
							When using "-f x11grab -i :0.0" valgrind reports a definitely lost
memory block with this message:
==31544== 5 bytes in 1 blocks are definitely lost in loss record 1 of 2
==31544==    at 0x4026E68: memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==31544==    by 0x4026F17: posix_memalign (in /usr/lib/valgrind/vgpreload_memcheck-amd64-linux.so)
==31544==    by 0x60D399A: av_malloc (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1)
==31544==    by 0x60D3A70: av_strdup (in /usr/lib/x86_64-linux-gnu/libavutil.so.51.22.1)
==31544==    by 0x4A2BE58: ??? (in /usr/lib/x86_64-linux-gnu/libavdevice.so.53.2.0)
==31544==    by 0x506D29E: avformat_open_input (in /usr/lib/x86_64-linux-gnu/libavformat.so.53.21.0)
==31544==    by 0x400A80: main (in /home/ao2/WIP/am7xxx-play/tests/a.out)
The 5 bytes lost are the ones from param = av_strdup(":0.0"), so let's
free param in the exit path.
Also check the av_strdup() return value.
Note: calling av_free(param) even when av_strdup() fails and param is
NULL is OK and keeps the code simpler without adding another label to
skip av_free().
Signed-off-by: Ronald S. Bultje <rsbultje@gmail.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								87392b1fd5 
								
							
								 
							
						 
						
							
							
								
								libcdio: add a forgotten AVClass to the private context.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cfac648e6a 
								
							
								 
							
						 
						
							
							
								
								doxygen: Remove documentation for non-existing parameters; misc small fixes.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0c5d78a898 
								
							
								 
							
						 
						
							
							
								
								4xm, timefilter: K&R formatting cosmetics  
							
							Signed-off-by: Diego Biurrun <diego@biurrun.de> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7181c4edee 
								
							
								 
							
						 
						
							
							
								
								cosmetics: Remove extra newlines at EOF  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6e9651d106 
								
							
								 
							
						 
						
							
							
								
								lavf: remove AVFormatParameters from AVFormatContext.read_header signature  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								941e9f2238 
								
							
								 
							
						 
						
							
							
								
								lavd: remove deprecated v4l grab device.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b6db385922 
								
							
								 
							
						 
						
							
							
								
								v4l2: use C99 struct initializer  
							
							Remove some unneeded memsets. 
							
						 
						14 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0efd48dfd1 
								
							
								 
							
						 
						
							
							
								
								v4l2: poll the file descriptor  
							
							Instead of busy waiting use poll(); 
							
						 
						14 years ago