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
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
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
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
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
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
Alok Ahuja
945dda41a2
webm: support stereo videos in matroska/webm muxer
...
Create a stereo_mode metadata tag to specify the stereo 3d video layout
using the StereoMode tag in a matroska/webm video track.
14 years ago
Anton Khirnov
f91ccb1df6
lavf: deprecate AVFormatParameters.pix_fmt.
14 years ago
Anton Khirnov
2a85f21868
rawdec: add a pixel_format private option.
14 years ago
Martin Storsjö
28734ac995
movenc: Deprecate the global RTP hinting flag, use a private AVOption instead
...
Instead of -fflags rtphint, set -movflags rtphint instead.
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Martin Storsjö
91e3a25ef6
movenc: Add an AVClass for setting muxer specific options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
14 years ago
Luca Barbato
ebb6b27ad9
tcp: make connect() timeout properly
...
The connect() timeout can take minutes, gets misreported as EIO and
isn't interruptible.
14 years ago
Anton Khirnov
fa4924a358
rawdec: factor video demuxer definitions into a macro.
14 years ago
Anton Khirnov
4779f59378
rtspdec: add initial_pause private option.
...
Deprecate corresponding AVFormatParameters field.
14 years ago
Anton Khirnov
89d1b7f406
lavf: deprecate AVFormatParameters.width/height.
14 years ago
Anton Khirnov
06d8c9e5f0
tty: add video_size private option.
14 years ago
Anton Khirnov
973f686a6c
rawdec: add video_size private option.
14 years ago
Alex Converse
86f868771b
id3v2: Check malloc result. ID3v2 tags can be very large.
14 years ago
Alex Converse
40a5dd2f35
id3v2: Initialize tflags for version 2.2.
14 years ago