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
18 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
18 years ago
Panagiotis Issaris
95c9943081
Make AVOption parsign code use ff_eval2()
...
Originally committed as revision 6357 to svn://svn.ffmpeg.org/ffmpeg/trunk
18 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
18 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
18 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
18 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
18 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
18 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
19 years ago
Michael Niedermayer
6fd46414db
dont include opt.h in avcodec.h
...
Originally committed as revision 4591 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 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
19 years ago
Michael Niedermayer
a1689e2f19
avoid stdio.h
...
Originally committed as revision 4585 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
c44a131dc7
missing include noticed by g0th
...
Originally committed as revision 4582 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
233f6f889e
flags and named constants with type checking of course for AVOption
...
spliting AVOption specific stuff out of avcodec.h into opt.h
Originally committed as revision 4581 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
8bbf6db98b
AVOption API improvments
...
support AVOptions for encoding in ffmpeg.c
Originally committed as revision 4580 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
3735e82f2d
AVOption enumeration support and some flags to classify AVOptions
...
Originally committed as revision 4568 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago
Michael Niedermayer
860a40c8a7
AVOption first try
...
Originally committed as revision 4563 to svn://svn.ffmpeg.org/ffmpeg/trunk
19 years ago