Ronald S. Bultje
9ed6cbc3ee
ogg: fix double free when finding length of small chained oggs.
...
ogg_save() copies streams[], but doesn't keep track of free()'ed
struct members. Thus, if in between a call to ogg_save() and
ogg_restore(), streams[].private was free()'ed, this would result
in a double free -> crash, which happened when e.g. playing small
chained ogg fragments.
14 years ago
Mans Rullgard
57b4a3dd2b
build: include sub-makefiles using full path instead of symlinks
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Kostya Shishkov
cb7b55b096
wavpack: skip blocks with no samples
...
These blocks don't report audio stream parameters and they are not needed
for decoding.
Signed-off-by: Mans Rullgard <mans@mansr.com>
14 years ago
Diego Biurrun
a6213f3dce
build: Remove redundant config.mak includes from subdirectory Makefiles.
...
Calling Make from subdirectories is not supported and config.mak has
multiple inclusion guards anyway, so the top-level include is enough.
14 years ago
Can Wu
fc66e23154
udp: Receive on the remote port number, if no local port is set
...
For a unicast udp stream to localhost:1234, currently
ffplay udp://:1234?localport=1234
works, but
ffplay udp://:1234
doesn't work.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Diego Biurrun
adbfc605f6
doxygen: Consistently use '@' instead of '\' for Doxygen markup.
...
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Martin Storsjö
9abbe8cc13
Use av_printf_format to check the usage of printf style functions
...
This helps catching cases where the format string doesn't
match what is passed in, or injection bugs where user data
is passed in as format string.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Diego Biurrun
35fa0d4758
nsvdec: Propagate error values instead of returning 0 in nsv_read_header().
...
This eliminates a warning about a set-but-unused variable.
14 years ago
Carl Eugen Hoyos
53d5cd2c82
mov: Support Digital Voodoo SD 8 Bit and DTS codec identifiers.
14 years ago
ami_stuff
7ac639654f
mov: Support R10g codec identifier.
14 years ago
Kamil Nowosad
a304a83362
riff/img2: Add JPEG 2000 codec IDs.
14 years ago
ami_stuff
2ea1ca1714
riff: Add DAVC fourcc.
...
This fourcc is used by the "mpegable AVC" codec and files encoded with
this codec decode correctly with our H.264 decoder.
14 years ago
Carl Eugen Hoyos
682a20114e
riff: Add M263, XVIX, MMJP, CDV5 fourccs.
14 years ago
ami_stuff
d352df0931
rawvideo: Support auv2 fourcc.
14 years ago
Justin Ruggles
e6c52cee54
Replace usages of av_get_bits_per_sample_fmt() with av_get_bytes_per_sample().
...
av_get_bits_per_sample_fmt() is deprecated.
14 years ago
Yusuke Nakamura
ae88e9cf99
mov: Fix empty edit detection.
14 years ago
Ronald S. Bultje
dbafb0e06f
lavf: prevent crash in av_open_input_file() if ap == NULL.
...
Needed for proper behaviour in our old API compatibility code.
14 years ago
Anton Khirnov
84bd2b4bf5
lavf: add a forgotten NULL check in convert_format_parameters().
14 years ago
Anton Khirnov
7c44d716e7
Add minor bumps and APIChanges entries for lavf private options.
14 years ago
Anton Khirnov
25de5958c8
lavf: add avformat_write_header() as a replacement for av_write_header().
...
It supports more convenient setting of AVOptions.
14 years ago
Anton Khirnov
603b8bc2a1
Deprecate av_open_input_* and remove their uses.
...
Deprecate the last remaining member of AVFormatParameters.
14 years ago
Anton Khirnov
05e84c95c7
lavf: add avformat_open_input() as a replacement for av_open_input_*
...
Add support for demuxer private options.
14 years ago
Diego Biurrun
1d076f46a0
rtpenc_latm: Consistently use "Libav" in license boilerplate.
14 years ago
Martin Storsjö
d840733937
rtsp: Don't pass string pointer as format string to ff_url_join
...
In this case, the string that was passed couldn't contain
user-defined data and thus there was no risk for injection
bugs, but it's safer this way, if we later change the
content of the options string.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Kirill Zorin
6095388812
mmsh: fixed printf injection bug in mmsh request
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Diego Biurrun
35bdaf3d42
utils: Drop pointless '#if 1' preprocessor directive.
14 years ago
Carl Eugen Hoyos
8d0786ec6d
wav: remove an invalid free().
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Michael Niedermayer
a8fd2f4e02
lavf: initialise reference_dts in av_estimate_timings_from_pts.
...
Fixes issue2437.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Peter Ross
a31d4b3a99
img2: add .dpx to the list of supported file extensions.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Diego Biurrun
919d7a345a
Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.
14 years ago
Kieran Kunhya
f74e5b76b1
adts: Adjust frame size mask to follow the specification.
...
This fixes ADTS detection for at least one sample.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
14 years ago
Martin Storsjö
d16cccac98
movenc: Add RTP muxer/hinter options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
f3f82296a4
movenc: Pass the RTP AVFormatContext to the SDP generation
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
e2e29c6247
rtspenc: Add RTP muxer options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
6cf09bb7ef
rtspenc: Add an AVClass for setting muxer specific options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
ff0824f72c
rtpenc_chain: Pass the rtpflags options through to the chained muxer
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
635fac9af1
rtpenc: Declare the rtp flags private AVOptions in rtpenc.h
...
This allows other muxers that chain a RTP muxer to declare
the same options easily.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
9c434ce826
sdp: Reindent after the previous commit
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Juan Carlos Rodriguez
0832122880
rtpenc: MP4A-LATM payload support
...
This is enabled with an AVOption on the RTP muxer. The SDP
generator looks for a latm flag in the rtpflags field.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
0558e266a2
sdp: Allow passing an AVFormatContext to the SDP generation
...
Options from the AVFormatContext can be read for modifying
the generated SDP.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Yusuke Nakamura
f33a6a22b4
mov: Fix wrong timestamp generation for fragmented movies that have time offset caused by the first edit list entry.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Stefano Sabatini
996bbdbf1f
lavf: make compute_pkt_fields2() return meaningful error values
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Reimar Döffinger
4654420410
matroskadec: set timestamps for RealAudio packets.
...
Improves seeking in ffplay with
http://samples.mplayerhq.hu/Matroska/RA_missing_timestamps.mkv
Signed-off-by: Anton Khirnov <anton@khirnov.net>
14 years ago
Alex Converse
85e9e3a9fa
movdec: Add support for the 'wfex' atom.
...
The 'wfex' is just a Microsoft WaveFormatEx struct.
14 years ago
Alex Converse
ed8a50068c
riff: Fix potential memleak.
...
Make ff_get_wav_header() free existing extradata before allocing a new
buffer.
14 years ago
Etienne Buira
a71bcd1a7f
crypto: Use av_freep instead of av_free
...
This fixes a potential double free.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
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