Stefano Sabatini
be1fb76fa1
Make av_set_string3() print a message in case of unknown option.
...
Originally committed as revision 18826 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
50f68bdebf
Provide a context to av_log() calls in av_set_number2() and
...
av_set_string3().
Originally committed as revision 18825 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Diego Biurrun
bad5537e2c
Use full internal pathname in doxygen @file directives.
...
Otherwise doxygen complains about ambiguous filenames when files exist
under the same name in different subdirectories.
Originally committed as revision 16912 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Andreas Öman
11c23b64ac
Revert r16257:
...
Include "libavutil/common.h" where we use llrint() in case ffmpeg's
own llrint() is to be used.
Originally committed as revision 16282 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Andreas Öman
1af34f094e
Include "libavutil/common.h" where we use llrint() in case ffmpeg's
...
own llrint() is to be used.
Originally committed as revision 16257 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
64e74b68a4
Put under #if LIBAVCODEC_VERSION_MAJOR < 53 the deprecated functions
...
av_set_string() and av_set_string2(), they will be dropped at the next
major bump.
Originally committed as revision 16243 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
f16dd7e65a
Remove calls to deprecated av_set_string2() with calls to
...
av_set_string3().
Originally committed as revision 16241 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
7b1454c439
Implement av_set_string3().
...
Originally committed as revision 16175 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
301cc4f370
Implement the av_set_number2() internal function, which makes possible
...
to distinguish between a not found option failure and a not valid
value failure.
Originally committed as revision 16156 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
a59d44fdf4
Remove ending period in a log message, which was inconsistent with
...
most other messages.
Originally committed as revision 16155 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
54c441c860
Remove set_all_opt() and its use in av_set_string2(). Make
...
av_set_string() and av_set_string2() do not accept as parameter the
name of a named constant.
This avoids av_set_string2() and av_set_string() to misbehave when
there is an option and a named constant with the same name.
See the thread: "[PATCH] Remove libavcodec/opt.c:set_all_opt()".
Originally committed as revision 16134 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Michael Niedermayer
36d5b17514
Fix FF_OPT_TYPE_INT64 support of defaults.
...
Originally committed as revision 16008 to svn://svn.ffmpeg.org/ffmpeg/trunk
16 years ago
Stefano Sabatini
f969058998
Fix the logic to access the location of a string to free when setting
...
a new value for a string with av_set_string2(). Fix a segmentation
fault.
Originally committed as revision 14219 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
8dbee6538d
Fix the av_set_string() free / alloc issue.
...
Originally committed as revision 14134 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefan Gehrer
cf2baeb338
mark read-only data as const
...
Originally committed as revision 13947 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
9d2e6e84ce
Anoter try to make +- behave sanely.
...
Originally committed as revision 13281 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
4a13a2d4f7
Fix + - bug with non flags.
...
Originally committed as revision 13243 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
5cec11b612
Make av_set_string() fail when number could not be set.
...
Patch by Stefano Sabatini stefano§sabatini-lalaATposte§it
Originally committed as revision 13155 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
9203741a46
Update offset in the option string later, to have a better error message.
...
Patch by Stefano Sabatini stefanoTODsabatini-lalaCHEZposteTODit
Originally committed as revision 13153 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Stefano Sabatini
0be2f1e3f0
Fix a typo.
...
Patch by Stefano Sabatini stefanoDOTsabatini-lalaATpostePOINTit
Originally committed as revision 13140 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
378774e9a8
Fix handling flags with the MSB set.
...
Originally committed as revision 12324 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Luca Abeni
408ed51cdb
Fix
...
opt.c: In function ‘av_set_string’:
opt.c:164: warning: passing argument 9 of ‘ff_eval2’ from incompatible pointer type
Originally committed as revision 11937 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
841f39a7f3
Add FF_OPT_TYPE_BINARY and use it to add a cryptokey option
...
Originally committed as revision 11250 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Reimar Döffinger
603972fc53
Add a missing break, before av_set_number would always return NULL for
...
FF_OPT_TYPE_RATIONAL options instead of the corresponding AVOption
Originally committed as revision 11213 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
b81f2b3d2f
simplify
...
Originally committed as revision 11141 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Michael Niedermayer
24cdc39e9d
make the AVOption code work with strings instead of crash
...
Originally committed as revision 11140 to svn://svn.ffmpeg.org/ffmpeg/trunk
17 years ago
Diego Biurrun
e5a389a1b7
license header consistency cosmetics
...
Originally committed as revision 9484 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Kamil Nowosad
a4072c453b
Fix a bug in av_find_opt(). Because some of the AVOption structures have field
...
unit = NULL, the function could pass NULL to strcmp and cause a segfault.
Patch by Kamil Nowosad, k nowosad % students mimuw edu pl.
Original thread:
Subject: [PATCH] small bugfix in av_find_opt()
Date: 03/23/2007 12:20 PM
Originally committed as revision 8553 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Limin Wang
226d6947bc
add 'all' and 'none' options for partitions config
...
Patch by Limin Wang % lance P lmwang A gmail P com %
Original thread:
date: Mar 24, 2007 3:53 PM
subject: [Ffmpeg-devel] [PATCH] add all and none options for partitions config
Originally committed as revision 8552 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
20e708cbbe
add av_opt_set_defaults2() which sets just defaults from AVOptions whos flags match a user specified & mask = flags
...
Originally committed as revision 8280 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Michael Niedermayer
bc2a1c340a
make av_find_opt() available to the public and add a mask+flags parameter to search for specific AVOptions
...
Originally committed as revision 8279 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Luca Barbato
f8a32f450a
Constantize AVOption, solve few warnings, patch from flameeyes@gentoo.org aka "the other Diego"
...
Originally committed as revision 7601 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Dominik Mierzejewski
a10c779f76
Fixes:
...
opt.c:327: warning: no return statement in function returning non-void
opt_list return value is never checked.
Approved by Michael.
Originally committed as revision 6593 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Diego Biurrun
b78e7197a8
Change license headers to say 'FFmpeg' instead of 'this program/this library'
...
and fix GPL/LGPL version mismatches.
Originally committed as revision 6577 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 years ago
Panagiotis Issaris
d70ef6d761
Reformat the output of the list of available AVOptions, by indenting the
...
parameters of certain options and displaying them _right after_ the actual
option taking the parameter.
Originally committed as revision 6385 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Panagiotis Issaris
4d7b4613a1
Pull out the ff_eval* from the mpegvideo header, as it doesn't belong there and
...
put it in a separate file.
Originally committed as revision 6383 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Panagiotis Issaris
95c9943081
Make AVOption parsign code use ff_eval2()
...
Originally committed as revision 6357 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Panagiotis Issaris
fcc9b95653
Inform the user that a certain AVOption is out of range.
...
Originally committed as revision 6295 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Panagiotis Issaris
97c73545a5
Add support for SI (k, M, ...) and IEC/IEEE (Ki, Mi, ...) units.
...
Originally committed as revision 6287 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Panagiotis Issaris
a41e9d6899
Allow parameter values (AVOptions) to use the 'k', 'M', 'G'
...
and 'B' postfixes.
Originally committed as revision 6249 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Panagiotis Issaris
493f7857de
adds doxygen docs to av_opt_set_defaults. Patch by Takis
...
Originally committed as revision 6226 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Panagiotis Issaris
73a8ceaa17
make AVOptions default value field work.
...
Patch by Panagiotis Issaris % takis P issaris A uhasselt P be %
Original thread:
Date: Sep 8, 2006 3:22 PM
Subject: [Ffmpeg-devel] [PATCH 1/2] Enable usage of AVOption default value
Originally committed as revision 6224 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Antoine Cellerier
88d6903e23
Give a hint about what is the expected the data type of command line options.
...
Patch by Antoine Cellerier < dionoea AaH via pOiS ecp PoIs fr >
Original thread:
Date: Nov 1, 2005 7:41 PM
Subject: [Ffmpeg-devel] libavcodec help
Originally committed as revision 5054 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
5509bffa88
Update licensing information: The FSF changed postal address.
...
Originally committed as revision 4842 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Diego Biurrun
115329f160
COSMETICS: Remove all trailing whitespace.
...
Originally committed as revision 4749 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Måns Rullgård
4733abcbf3
use PRIxN, %zd, %td formats where needed
...
Originally committed as revision 4740 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
d2752a0ddf
dont print NULL
...
Originally committed as revision 4600 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
6fd46414db
dont include opt.h in avcodec.h
...
Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
637b5326f3
convert some options in ffmpeg.c to AVOptions
...
Originally committed as revision 4586 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago
Michael Niedermayer
a1689e2f19
avoid stdio.h
...
Originally committed as revision 4585 to svn://svn.ffmpeg.org/ffmpeg/trunk
20 years ago