Mans Rullgard
4c1e56ede8
oma: check avio_read() return value
2011-06-02 20:06:18 +01:00
Mans Rullgard
14086341bf
nutdec: remove unused variable
2011-06-02 20:06:18 +01:00
Mans Rullgard
e65ab9d94f
Remove unused variables
2011-06-02 20:06:00 +01:00
Diego Biurrun
b0a4e5f9e7
Employ correct printf format specifiers, mostly in debug output.
2011-05-31 23:45:14 +02:00
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.
2011-05-31 08:16:18 -07:00
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.
2011-05-28 12:15:55 +02:00
Anton Khirnov
f91ccb1df6
lavf: deprecate AVFormatParameters.pix_fmt.
2011-05-27 23:33:51 +02:00
Anton Khirnov
2a85f21868
rawdec: add a pixel_format private option.
2011-05-27 23:33:51 +02:00
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>
2011-05-27 19:56:44 +03:00
Martin Storsjö
91e3a25ef6
movenc: Add an AVClass for setting muxer specific options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-05-27 19:56:33 +03:00
Luca Barbato
ebb6b27ad9
tcp: make connect() timeout properly
...
The connect() timeout can take minutes, gets misreported as EIO and
isn't interruptible.
2011-05-27 09:42:14 +02:00
Anton Khirnov
fa4924a358
rawdec: factor video demuxer definitions into a macro.
2011-05-27 08:31:16 +02:00
Anton Khirnov
4779f59378
rtspdec: add initial_pause private option.
...
Deprecate corresponding AVFormatParameters field.
2011-05-27 06:52:52 +02:00
Anton Khirnov
89d1b7f406
lavf: deprecate AVFormatParameters.width/height.
2011-05-27 06:52:52 +02:00
Anton Khirnov
06d8c9e5f0
tty: add video_size private option.
2011-05-27 06:52:52 +02:00
Anton Khirnov
973f686a6c
rawdec: add video_size private option.
2011-05-27 06:52:52 +02:00
Alex Converse
86f868771b
id3v2: Check malloc result. ID3v2 tags can be very large.
2011-05-26 13:16:03 -07:00
Alex Converse
40a5dd2f35
id3v2: Initialize tflags for version 2.2.
2011-05-26 13:16:03 -07:00
Anton Khirnov
9749cdf775
lavf: initialize demuxer private options.
2011-05-26 20:03:26 +02:00
Diego Biurrun
e169428529
Mark parameterless function declarations as 'void'.
2011-05-26 16:26:17 +02:00
Alex Converse
30315a8d9c
avformat: Add fpsprobesize as an AVOption.
2011-05-25 12:34:46 -07:00
Martin Storsjö
48b1fb1397
rtmp: Reindent
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-05-25 22:01:21 +03:00
Martin Storsjö
271c869cc3
rtmp: Don't try to do av_malloc(0)
...
Some received packets can have size 0. The return value from
av_malloc(0) may be NULL, which is ok if the size was 0. On
OS X, however, the returned pointer is non-null but leads to
crashes when trying to free it.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-05-25 22:00:42 +03:00
Anton Khirnov
67540af7ba
tty: replace AVFormatParameters.sample_rate abuse with a private option.
2011-05-25 16:21:25 +02:00
John Stebbins
656566d7a4
Fix end time of last chapter in compute_chapters_end
...
Parenthesis are misplaced in calculation of max_time.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-25 15:55:48 +02:00
Anton Khirnov
d20576d01b
lavf: deprecate AVFormatParameters.channel.
2011-05-25 15:55:47 +02:00
Anton Khirnov
fc68a8f703
lavf: deprecate AVFormatParameters.standard.
2011-05-25 15:55:47 +02:00
Anton Khirnov
bffd4dd1d3
lavf: deprecate AVFormatParameters.{channels,sample_rate}.
2011-05-25 15:55:46 +02:00
Anton Khirnov
5b3865fc5f
rawdec: add sample_rate/channels private options.
2011-05-25 15:55:46 +02:00
Anton Khirnov
fb37d57347
lavf: deprecate AVFormatParameters.mpeg2ts_raw.
...
It doesn't do anything except produce an error message when set.
2011-05-25 15:20:25 +02:00
Anton Khirnov
17a5556db5
mpegts: add compute_pcr option.
...
Deprecate the corresponding AVFormatParameters field.
2011-05-25 15:20:25 +02:00
Anton Khirnov
5dc8214420
lavf: add priv_class field to AVInputFormat.
2011-05-25 15:20:25 +02:00
Ilya
4515f9b58a
rtsp: use strtoul to parse rtptime and seq values.
...
strtol could return negative values, leading to various error messages,
mainly "non-monotonically increasing dts".
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-24 19:11:28 +02:00
Carl Eugen Hoyos
ab088f7d28
ape: Allow demuxing of files with metadata tags.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-24 19:07:33 +02:00
Diego Biurrun
153382e1b6
multiple inclusion guard cleanup
...
Add missing multiple inclusion guards; clean up #endif comments;
add missing library prefixes; keep guard names consistent.
2011-05-21 13:48:10 +02:00
Can Wu
d49051e074
avio: document buffer must created with av_malloc() and friends
...
Else a later buffer resize in ffio_set_buf_size() will ABORT.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-21 13:42:50 +02:00
Can Wu
9e2dabed4a
avio: check AVIOContext malloc failure
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-21 13:42:50 +02:00
Martin Storsjö
50fefa10de
mpegtsenc: Add an AVClass pointer to the private data
...
Since a private class is set for this muxer, the callers will
assume that the private data starts with an AVClass pointer.
If no such member exists, the first few bytes of the struct
will be overwritten, and the class pointer may be broken at
any later time.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-05-20 15:16:09 +03:00
Diego Biurrun
7ed0a77ff4
Remove silly insults from avformat_version() Doxygen documentation.
2011-05-19 18:28:25 +02:00
Mans Rullgard
b122c65107
asfdec: add missing #include for av_bswap32()
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2011-05-19 12:38:43 +01:00
Anton Khirnov
29e3489602
lavf: remove duplicate assignment in avformat_alloc_context.
...
AVClass is already initialized in avformat_get_context_defaults.
2011-05-17 23:01:42 +02:00
Anton Khirnov
f0029cbcf6
lavf: use designated initializers for AVClasses.
2011-05-17 23:01:42 +02:00
Alex Converse
13220b1856
flvdec: clenup debug code
2011-05-17 22:08:11 +02:00
Uoti Urpala
29fa570d0c
asfdec: fix possible overread on broken files.
2011-05-17 22:06:00 +02:00
Vladimir Pantelic
69fa23961e
asfdec: do not fall back to binary/generic search
...
asf_read_seek() inside the asf demuxer already does the
right thing, it tries the index and if that fails it uses
binary search. If binary search is called from outside of asfdec.c
it will fail because the asf code cannot clean up after itself.
Therefore introduce AVFMT_NOBINSEARCH that prevents the seek
code to fallback to binary search and AVFMT_NOGENSEARCH that
prevents the seek code to fallback to generic search.
2011-05-17 22:06:00 +02:00
Vladimir Pantelic
b58bc17cf7
asfdec: reindent after previous commit c7bd5ed
2011-05-17 22:05:22 +02:00
Vladimir Pantelic
c7bd5edae4
asfdec: fallback to binary search internally
...
lavf will do that anyway in case seek by index fails
2011-05-17 21:48:16 +02:00
Baptiste Coudurier
7e19a6e868
movenc: always write esds descriptor length using 4 bytes.
...
ipod shuffle doesn't support anything else.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-13 07:38:54 +02:00
Martin Storsjö
552a99957f
rtpdec_qdm2: Don't try to parse data packet if no configuration is received
...
The later parsing of payload data depends on the configuration
being present. If it hasn't been configured properly yet,
parsing a data packet may lead to a crash.
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-05-13 00:20:59 +03:00
Aurelien Jacobs
89d4c13057
matroskaenc: make sure we don't produce invalid file with no codec ID
...
Signed-off-by: Aurelien Jacobs <aurel@gnuage.org>
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-05-12 18:02:28 +02:00