Anton Khirnov
dbaba52ed2
lavf: don't try to free private options if priv_data is NULL.
...
This might happen if there was an error before priv_data was allocated
and result in segfault.
14 years ago
Diego Biurrun
5bd6ec6d59
options: Add missing braces around struct initializer.
...
This fixes the warning:
libavformat/options.c:62:1: warning: missing braces around initializer [-Wmissing-braces]
14 years ago
Diego Biurrun
b7847a3f2e
mov: Remove leftover crufty debug statement with references to a local file.
14 years ago
Anton Khirnov
d2d67e424f
Remove all uses of now deprecated metadata functions.
14 years ago
Anton Khirnov
d9f80ea2a7
Move metadata API from lavf to lavu.
...
Rename it to AVDictionary, since it will be used as such. Tags
documentation and metadata conversion API is lavf-specific, so remains
there.
14 years ago
Etienne Buira
7d89f7cbf3
crypto: fix potential double free
14 years ago
Diego Biurrun
ac4a854811
Remove some non-compiling debug messages.
14 years ago
Diego Biurrun
02a8d43adf
Replace some av_log/printf + #ifdef combinations by av_dlog.
14 years ago
Diego Biurrun
1f6b9cc31d
Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.
14 years ago
Diego Biurrun
d7cf5639e7
Replace some printf instances in debug code by av_log.
14 years ago
Diego Biurrun
dc25d79f49
Drop unnecessary directory prefixes from #include directives.
14 years ago
Luca Barbato
0e28e9ca8f
flvenc: propagate error properly
...
avio_flush can fail, in particular when used with the rtmp/librtmp
protocol.
14 years ago
Anton Khirnov
b2592ea42c
lavf: deprecate AVFormatParameters.time_base.
14 years ago
Anton Khirnov
abcedfac60
img2: add framerate private option.
14 years ago
Anton Khirnov
a915bf64cc
img2: add video_size private option.
14 years ago
Anton Khirnov
f33e2a51d9
img2: add pixel_format private option.
14 years ago
Anton Khirnov
c1dcbfddf9
tty: add framerate private option.
14 years ago
Stefano Sabatini
6700aa8810
lavf: remove reference to output-example in Makefile
...
output-example.c (and renamed to muxing-example.c) has been moved to
doc/examples.
14 years ago
Anton Khirnov
367732832f
lavf,lavc: free avoptions in a generic way.
...
It's simpler and less error-prone.
Fixes some memleaks along the way.
14 years ago
Anton Khirnov
8346f60afb
tty: factorise returning error codes.
14 years ago
Anton Khirnov
e762b1ce95
rawdec: add framerate private option.
14 years ago
Diego Biurrun
8d459acc10
Add missing #includes to make headers self-contained.
...
This fixes 'make checkheaders'.
14 years ago
Michael Niedermayer
124a9edb5f
udp: support old, crappy non pthread mode
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
49125aeddc
oggdec: fix Ticket185
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
JULIAN GARDNER
f35761bca2
udp: fix indention
14 years ago
Michael Niedermayer
c9614bb22c
wav: update size check for ds64
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Philip de Nier
e472f0ea5a
wav: fix skip size at end of ds64 chunk
14 years ago
Diego Biurrun
43b6c3eb18
mpegts: Wrap #ifdef DEBUG and av_hex_dump_log() combination in a macro.
14 years ago
Mans Rullgard
5e1166b31b
Mark some variables with av_unused
...
Most of these variables are only used in av_dlog statements, some
are required but not used by other macros.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Anton Khirnov
1f94c31f69
rawdec: initialize return value to 0.
14 years ago
Anton Khirnov
a606aa7570
rawdec: don't leak option strings.
14 years ago
Diego Biurrun
f190f676bc
Replace custom DEBUG preprocessor trickery by the standard one.
14 years ago
Diego Biurrun
df96f22d8f
Replace custom debug output functions by av_dlog().
14 years ago
Diego Biurrun
b751f61106
Remove stray extra arguments from av_dlog() invocations.
14 years ago
Mans Rullgard
4c1e56ede8
oma: check avio_read() return value
14 years ago
Mans Rullgard
14086341bf
nutdec: remove unused variable
14 years ago
Mans Rullgard
e65ab9d94f
Remove unused variables
14 years ago
Clément Bœsch
b443447536
Fix various uninitialized variable warnings
14 years ago
Reimar Döffinger
06a9da7365
Simplify code and avoid compiler warning about incompatible types.
14 years ago
Stefano Sabatini
adf9415598
lavf: tag dump_format() as @deprecated
...
This makes the generated Doxygen doc link to the replacement
av_dump_format() function.
14 years ago
Stefano Sabatini
1f95fb5813
yuv4mpeg: complain and exit if a non-rawvideo stream is selected
...
The yuv4mpeg muxer will crash otherwise.
14 years ago
Diego Biurrun
b0a4e5f9e7
Employ correct printf format specifiers, mostly in debug output.
14 years ago
Gil Pedersen
c16919487e
improved 'edts' atom writing support
...
The 'edts' write function can now generate an initial empty edit resulting in a track-specific presentation delay.
This is automatically calculated and inserted for any track where the initial DTS != 0.
Added support for long (version==1) timecodes.
14 years ago
Tomas Härdin
f86d260df3
wav: Don't avio_seek() if we know we'll run into EOF
...
Since we want to break the loop the 'if (data_ofs < 0)' block is moved after the loop.
This fixes ticket #250 .
14 years ago
Stefano Sabatini
9362b50941
examples: move API examples to a dedicated dir in doc
14 years ago
Michael Niedermayer
35bed44fc9
TCP: change default timeout to 5sec
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Michael Niedermayer
a22500744b
Revert "Timeout TCP open() after 5 seconds."
...
This code is redundant and conflicts with lucas reimplementation of it.
This reverts commit a2f5e14a86
.
14 years ago
Clément Bœsch
adba9c6352
Fix various unused variable warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Clément Bœsch
fd38a15adf
Fix various bad printf format warnings
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
14 years ago
Stefano Sabatini
34e9c9b111
iff: remove duplicated file description
14 years ago