ami_stuff
d352df0931
rawvideo: Support auv2 fourcc.
2011-06-21 21:33:58 +02:00
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.
2011-06-20 18:56:06 -04:00
Yusuke Nakamura
ae88e9cf99
mov: Fix empty edit detection.
2011-06-19 18:15:56 -07:00
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.
2011-06-18 17:51:10 -04:00
Anton Khirnov
84bd2b4bf5
lavf: add a forgotten NULL check in convert_format_parameters().
2011-06-18 17:42:44 +02:00
Anton Khirnov
7c44d716e7
Add minor bumps and APIChanges entries for lavf private options.
2011-06-16 20:24:58 +02:00
Anton Khirnov
25de5958c8
lavf: add avformat_write_header() as a replacement for av_write_header().
...
It supports more convenient setting of AVOptions.
2011-06-16 20:24:56 +02:00
Anton Khirnov
603b8bc2a1
Deprecate av_open_input_* and remove their uses.
...
Deprecate the last remaining member of AVFormatParameters.
2011-06-16 20:24:56 +02:00
Anton Khirnov
05e84c95c7
lavf: add avformat_open_input() as a replacement for av_open_input_*
...
Add support for demuxer private options.
2011-06-16 20:24:56 +02:00
Diego Biurrun
1d076f46a0
rtpenc_latm: Consistently use "Libav" in license boilerplate.
2011-06-16 17:13:34 +02:00
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>
2011-06-16 17:40:28 +03:00
Kirill Zorin
6095388812
mmsh: fixed printf injection bug in mmsh request
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-16 17:40:21 +03:00
Diego Biurrun
35bdaf3d42
utils: Drop pointless '#if 1' preprocessor directive.
2011-06-13 23:02:28 +02:00
Carl Eugen Hoyos
8d0786ec6d
wav: remove an invalid free().
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-13 20:47:06 +02:00
Michael Niedermayer
a8fd2f4e02
lavf: initialise reference_dts in av_estimate_timings_from_pts.
...
Fixes issue2437.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-13 20:46:06 +02:00
Peter Ross
a31d4b3a99
img2: add .dpx to the list of supported file extensions.
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-13 20:43:29 +02:00
Diego Biurrun
919d7a345a
Replace DEBUG_SEEK/DEBUG_SI + av_log combinations by av_dlog.
2011-06-10 19:12:14 +02:00
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>
2011-06-10 18:41:04 +02:00
Martin Storsjö
d16cccac98
movenc: Add RTP muxer/hinter options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-10 10:52:32 +03:00
Martin Storsjö
f3f82296a4
movenc: Pass the RTP AVFormatContext to the SDP generation
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-10 10:52:25 +03:00
Martin Storsjö
e2e29c6247
rtspenc: Add RTP muxer options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-10 10:52:22 +03:00
Martin Storsjö
6cf09bb7ef
rtspenc: Add an AVClass for setting muxer specific options
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-10 10:50:41 +03:00
Martin Storsjö
ff0824f72c
rtpenc_chain: Pass the rtpflags options through to the chained muxer
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-10 10:50:23 +03:00
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>
2011-06-10 10:50:08 +03:00
Martin Storsjö
9c434ce826
sdp: Reindent after the previous commit
...
Signed-off-by: Martin Storsjö <martin@martin.st>
2011-06-10 10:49:55 +03:00
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>
2011-06-10 10:49:20 +03:00
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>
2011-06-10 10:45:22 +03:00
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>
2011-06-10 09:06:02 +02:00
Stefano Sabatini
996bbdbf1f
lavf: make compute_pkt_fields2() return meaningful error values
...
Signed-off-by: Anton Khirnov <anton@khirnov.net>
2011-06-09 23:00:11 +02:00
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>
2011-06-09 22:53:17 +02:00
Alex Converse
85e9e3a9fa
movdec: Add support for the 'wfex' atom.
...
The 'wfex' is just a Microsoft WaveFormatEx struct.
2011-06-09 10:14:32 -07:00
Alex Converse
ed8a50068c
riff: Fix potential memleak.
...
Make ff_get_wav_header() free existing extradata before allocing a new
buffer.
2011-06-09 10:12:50 -07:00
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>
2011-06-08 23:41:53 +03:00
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.
2011-06-08 19:51:31 +02:00
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]
2011-06-08 15:01:02 +02:00
Diego Biurrun
b7847a3f2e
mov: Remove leftover crufty debug statement with references to a local file.
2011-06-08 12:01:41 +02:00
Anton Khirnov
d2d67e424f
Remove all uses of now deprecated metadata functions.
2011-06-08 07:43:45 +02:00
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.
2011-06-08 07:43:45 +02:00
Diego Biurrun
ac4a854811
Remove some non-compiling debug messages.
2011-06-08 00:45:47 +02:00
Diego Biurrun
02a8d43adf
Replace some av_log/printf + #ifdef combinations by av_dlog.
2011-06-07 13:20:58 +02:00
Diego Biurrun
1f6b9cc31d
Replace some nonstandard DEBUG_* preprocessor directives by plain DEBUG.
2011-06-07 13:20:58 +02:00
Diego Biurrun
d7cf5639e7
Replace some printf instances in debug code by av_log.
2011-06-07 13:20:57 +02:00
Diego Biurrun
dc25d79f49
Drop unnecessary directory prefixes from #include directives.
2011-06-07 10:31:26 +02:00
Luca Barbato
0e28e9ca8f
flvenc: propagate error properly
...
avio_flush can fail, in particular when used with the rtmp/librtmp
protocol.
2011-06-06 10:53:19 -05:00
Anton Khirnov
b2592ea42c
lavf: deprecate AVFormatParameters.time_base.
2011-06-06 06:46:10 +02:00
Anton Khirnov
abcedfac60
img2: add framerate private option.
2011-06-06 06:46:10 +02:00
Anton Khirnov
a915bf64cc
img2: add video_size private option.
2011-06-06 06:46:10 +02:00
Anton Khirnov
f33e2a51d9
img2: add pixel_format private option.
2011-06-06 06:46:05 +02:00
Anton Khirnov
c1dcbfddf9
tty: add framerate private option.
2011-06-06 06:32:40 +02:00
Anton Khirnov
367732832f
lavf,lavc: free avoptions in a generic way.
...
It's simpler and less error-prone.
Fixes some memleaks along the way.
2011-06-05 15:01:36 +02:00