8bb5680d90 
								
							
								 
							
						 
						
							
							
								
								cmdutils: improve feedback in case of not found option  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1123080d2e 
								
							
								 
							
						 
						
							
							
								
								cmdutils: remove conditionnal pp include.  
							
							The definition of the include are needed for builds even without pp.
This should fix FATE with --disable-gpl after 63edd2f9 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a2a848406f 
								
							
								 
							
						 
						
							
							
								
								cmdutils: clarify log message, in case of option routed to both codec and mux/demux layer  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								63edd2f989 
								
							
								 
							
						 
						
							
							
								
								cmdutils: remove duplicated check on CONFIG_POSTPROC  
							
							The check is already performed by the PRINT_LIB_INFO macro. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								475c090af2 
								
							
								 
							
						 
						
							
							
								
								cmdutils: make print_all_libs_info() show libavresample version  
							
							Even if not directly supported by FFmpeg, it is still useful to see the
linked version of libavresample. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								daf6ea5d4e 
								
							
								 
							
						 
						
							
							
								
								cmdutils: fix stylenits  
							
							
								
							
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9d3009c6c4 
								
							
								 
							
						 
						
							
							
								
								avconv: print an error on applying options of the wrong type.  
							
							I.e. input options to output files or vice versa. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								354468fc12 
								
							
								 
							
						 
						
							
							
								
								avplay: switch to new refcounted frames API  
							
							Remove now unused cmdutils get_buffer() implementation. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								efa7f42020 
								
							
								 
							
						 
						
							
							
								
								Use the avstring.h locale-independent character type functions  
							
							Make sure the behavior does not change with the locale.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								88d55b827d 
								
							
								 
							
						 
						
							
							
								
								Remove incorrect use of ctype.h functions.  
							
							As far as I can tell the code should not change behaviour
depending on locale in any of these places.
Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb6f8245ae 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Allow calling filter_codec_opts without a set encoder  
							
							In this case, no encoder specific options are filtered, only
options specific to that codec type in general.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								e8da807537 
								
							
								 
							
						 
						
							
							
								
								cmdutils: only use libavresample when it is enabled  
							
							avprobe and avserver use cmdutils and do not strictly require libavresample. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ad899522ff 
								
							
								 
							
						 
						
							
							
								
								ffmpeg: use a AVDictionary instead of the context to move swr parameters around  
							
							This avoids per parameter changes in ffmpeg at the cost of making access
somewhat more annoying.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								f3abdf4392 
								
							
								 
							
						 
						
							
							
								
								cmdutils: fix null pointer dereference  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								5c7db097eb 
								
							
								 
							
						 
						
							
							
								
								avconv: pass libavresample options to AVFilterGraph  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								d2a25c4032 
								
							
								 
							
						 
						
							
							
								
								get_buffer(): do not initialize the data.  
							
							There may be more decoders that rely on this. Those should be found and
fixed. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								89f11f498b 
								
							
								 
							
						 
						
							
							
								
								qtrle: fix the topmost line for 1bit  
							
							Signed-off-by: Anton Khirnov <anton@khirnov.net>
CC:libav-stable@libav.org 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								2cd4068071 
								
							
								 
							
						 
						
							
							
								
								fraps: fix off-by one bug for version 1.  
							
							CC:libav-stable@libav.org 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								da7baaaae7 
								
							
								 
							
						 
						
							
							
								
								aasc: fix output for msrle compression.  
							
							The bottom line was invalid before.
CC:libav-stable@libav.org 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								238614de67 
								
							
								 
							
						 
						
							
							
								
								cdgraphics: do not rely on get_buffer() initializing the frame.  
							
							Setting it to zero (instead of 128, as the default get_buffer() does)
also produces more correctly-looking output. 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								6a39985451 
								
							
								 
							
						 
						
							
							
								
								cmdutils: remove ansi from the list of broken codecs.  
							
							It's not relying on get_buffer() initializing the frame since
99e36ddd3e 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9381521968 
								
							
								 
							
						 
						
							
							
								
								cmdline: fix -- to escape files starting with -  
							
							Fixes Ticket2127
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						12 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7768a635c4 
								
							
								 
							
						 
						
							
							
								
								cmdutils: update copyright year to 2013  
							
							Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								9b53306178 
								
							
								 
							
						 
						
							
							
								
								cmdutils: we have 2013  
							
							Found-by: durandal_1707
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ba4bcb191a 
								
							
								 
							
						 
						
							
							
								
								cmdutils: implement debug/fdebug log level update differently.  
							
							The old implementation is no longer possibly due to limitations
of the new command line parser.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c661cb6672 
								
							
								 
							
						 
						
							
							
								
								cmdutils: pass number of groups to split_commandline().  
							
							This makes the code simpler and avoids mixing designated and
non-designated initializers in a potentially unsafe way in avconv. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0ec1642b60 
								
							
								 
							
						 
						
							
							
								
								cmdutils: don't log an error in opt_default().  
							
							It results in spurious errors when using the new preparser. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								8c9af5b205 
								
							
								 
							
						 
						
							
							
								
								cmdutils: add a commandline pre-parser.  
							
							It splits the commandline into a more convenient internal representation
for further parsing.
This will allow e.g.
- processing global options first independently of their location on the
  commandline, eliminating ugly hacks for processing e.g. cpuflags
  first
- better options validation and error reporting. It is now possible for
  the parser to know that it's applying an input option to an output
  file or vice versa and act accordingly. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								a01c02bcff 
								
							
								 
							
						 
						
							
							
								
								cmdutils: split parse_option().  
							
							Separate the code that searches for the option to use and the code that
actually writes it. The writing code will be reused by the new options
parser. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								7fb49639e6 
								
							
								 
							
						 
						
							
							
								
								lavu: make sure av_pix_fmt_desc_next returns a valid pix fmt.  
							
							This is required because there are some "holes" in the list for
compatibility with the fork.
The commit also removes the now unecessary check from cmdutils.
Found-by: wm4 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ff953fecff 
								
							
								 
							
						 
						
							
							
								
								lavc: set frame properties in ff_get_buffer().  
							
							There is no point in duplicating this code in every get_buffer()
implementation. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								15caccb9be 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Use a configure check for enabling CommandLineToArgvW  
							
							This simplifies the condition to avoid hardcoding the systems
where the function exists. This also simplifies support for
newer Windows API subsets where this function doesn't exist,
such as Windows Phone 8 and the "metro" API subset of Windows 8.
Signed-off-by: Martin Storsjö <martin@martin.st> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0efcf16a3e 
								
							
								 
							
						 
						
							
							
								
								replace av_log(0, by av_log(NULL,  
							
							The first parameter is a pointer and NULL is more correct
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								cb8c5e531c 
								
							
								 
							
						 
						
							
							
								
								cmdutils: free the report file name.  
							
							Fix coverity issue 743443, which was a harmless leak. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								926481078b 
								
							
								 
							
						 
						
							
							
								
								lavu/opt: fix av_opt_get_key_value() API.  
							
							Do not skip the end delimiter.
Reserve positive return values.
This is an API break, but the function was introduced less than
two weeks ago. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c1a02e884a 
								
							
								 
							
						 
						
							
							
								
								pixdesc: add av_pix_fmt_get_chroma_sub_sample  
							
							Deprecate avcodec_get_chroma_sub_sample. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								769354348a 
								
							
								 
							
						 
						
							
							
								
								PRINT_CODEC_SUPPORTED: fix used variable  
							
							Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								1fa47f8dea 
								
							
								 
							
						 
						
							
							
								
								cmdutils: allow to set the report file name.  
							
							The file name can be set by setting the FFREPORT environment
variable to "file=something".
Fix trac ticket #1823 . 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								4e6fa5be3c 
								
							
								 
							
						 
						
							
							
								
								Revert "cmdutils: allow specifying the file for -report"  
							
							This reverts commit 841bf0ef24 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								841bf0ef24 
								
							
								 
							
						 
						
							
							
								
								cmdutils: allow specifying the file for -report  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ab79966475 
								
							
								 
							
						 
						
							
							
								
								cmdutils: Conditionally compile libswscale-related bits  
							
							This fixes compilation with libswscale disabled. 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								c5be6192f0 
								
							
								 
							
						 
						
							
							
								
								cmdutils: avoid using cpp directives within printf macro arguments  
							
							Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
It appears such construct has undefined behavior 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								0008e0d632 
								
							
								 
							
						 
						
							
							
								
								cmdutils: fix unclosed file on error  
							
							Fixes CID739865
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								aa47821344 
								
							
								 
							
						 
						
							
							
								
								cmdutils: remove writes in never read variable  
							
							Fixes CID739868
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								3f65eff408 
								
							
								 
							
						 
						
							
							
								
								Include sys/time.h before sys/resource.h  
							
							Some systems require sys/time.h being explicitly included before
sys/resource.h.  The configure check already does this.
Signed-off-by: Mans Rullgard <mans@mansr.com> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								250fe6eeb4 
								
							
								 
							
						 
						
							
							
								
								cmdutils: apply option to codec and format contexts if possible.  
							
							This is needed for setting both contexts -err_detect at once.
Reviewed-by: Clément Bœsch <ubitux@gmail.com>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								ce739e66f4 
								
							
								 
							
						 
						
							
							
								
								cmdutils: add missing check for ftell() return  
							
							Fixed CID703706
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								35daf3ca81 
								
							
								 
							
						 
						
							
							
								
								cmdutils: remove unneeded null check  
							
							Fixes CID703769
Signed-off-by: Michael Niedermayer <michaelni@gmx.at> 
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b7f1010c8f 
								
							
								 
							
						 
						
							
							
								
								tools: do not use av_pix_fmt_descriptors directly.  
							
							
								
							
							
						 
						13 years ago  
				
					
						
							
							
								 
						
							
							
							
								
							
								b94e4acb48 
								
							
								 
							
						 
						
							
							
								
								cmdutils_read_file: increment *size after writing the trailing \0  
							
							Fixes CID732166. 
							
						 
						13 years ago