Clément Bœsch
13d26716fb
lavfi/showspectrum: add sliding mode.
2012-10-25 22:20:22 +02:00
Stefano Sabatini
b19bfd6c9f
lavd/lavfi: fix leak in case of failure
...
Jump to the common release code in case of failure.
2012-10-25 21:35:40 +02:00
Nicolas George
48ec8b25a7
lavfi/af_volumedetect: print stats in uninit().
...
If the stats are printed when request_frame on the input
returns EOF, then they are never printed if the filter is
not flushed, in particular when using the -t ffmpeg option.
Fix trac ticket #1727 .
2012-10-25 20:16:09 +02:00
Alexis Ballier
ce028ab9a7
Restore installation of libavutil/lzo.h after 2a91ada828
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 20:00:19 +02:00
Nicolas George
77a72d3485
lavfi/vf_fps: allow to set the rounding method.
...
By default, fps selects frames near PTS 0, 0.5, 1.5, 2.5, etc.
With round=down, it selects the frames near PTS 0, 1, 2, 3, etc.
2012-10-25 19:42:44 +02:00
Martin Ettl
cc72d52dc1
ffserver: fix printf argument type
2012-10-25 16:35:57 +00:00
Paul B Mahol
d8245c3bcd
dsicinav: return proper error code in case of malloc failure
...
Fixes null pointer dereference.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-10-25 13:46:19 +00:00
Paul B Mahol
296f9c2b3b
dsicinav: return meaningful error code
...
While here remove redundant references in error message.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-10-25 13:10:23 +00:00
Tomas Härdin
5c108092a3
mxfenc: Write MultipleDescriptor ref in Preface
...
Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 13:56:24 +02:00
Michael Niedermayer
da4e4d65f4
aacdec: reorder multiuplications to make code safer against too large input values.
...
Fixes CID700697
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 13:45:26 +02:00
Michael Niedermayer
aa604e8e33
Merge remote-tracking branch 'qatar/master'
...
* qatar/master:
avutil: Make LZO decoder code configure-time selectable
avutil: Move memcpy_backptr() to mem.c
configure: detect parisc64 automatically
configure: detect ppc64 automatically
configure: detect mips64 automatically
configure: generalise 64-bit test
smoothstreamingenc: Don't assume streams start from timestamp 0
Conflicts:
configure
libavutil/Makefile
libavutil/lzo.c
libavutil/lzo.h
libavutil/mem.c
libavutil/mem.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 13:15:58 +02:00
Diego Biurrun
2a91ada828
avutil: Make LZO decoder code configure-time selectable
2012-10-25 11:49:49 +02:00
Diego Biurrun
5bac2d0c30
avutil: Move memcpy_backptr() to mem.c
...
The function is used elsewhere and does not belong with the LZO code.
2012-10-25 11:36:57 +02:00
Michael Niedermayer
d312ffdd79
mpegvideo: fix lowres on field pictures
...
Fixes Ticket1846
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 04:03:58 +02:00
Michael Niedermayer
1a535fc477
fate: reenable some recently lost audio tests
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 03:13:32 +02:00
Michael Niedermayer
fa48da1ee9
ffmpeg: fix null ptr deref in psnr printing code
...
Fixes CID205005
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 01:38:15 +02:00
Michael Niedermayer
a1af505d66
roqaudioenc: remove dead code
...
Fixes CID703669
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 01:38:15 +02:00
Michael Niedermayer
4a2297294f
qt-faststart: check return of ftello()
...
Fixes CID739863
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 01:32:45 +02:00
Michael Niedermayer
ed68085104
asfdec: fixed signedness in comparission
...
Fixes CID739864
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 00:35:55 +02:00
Michael Niedermayer
0008e0d632
cmdutils: fix unclosed file on error
...
Fixes CID739865
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 00:32:34 +02:00
Michael Niedermayer
58c2c17f1d
mov_probe: use correct variable
...
Fixes CID739867
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 00:24:25 +02:00
Michael Niedermayer
aa47821344
cmdutils: remove writes in never read variable
...
Fixes CID739868
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-25 00:24:25 +02:00
Clément Bœsch
2ecf9492ff
lavf/srtenc: set codec to subrip by default.
...
We don't have a text encoder yet, so this commit makes automatic
encoding working with srt output.
2012-10-25 00:17:56 +02:00
Clément Bœsch
fd090a5d09
lavf/srtenc: simplify timing printing.
2012-10-25 00:17:46 +02:00
Clément Bœsch
c27b3816e4
srt: make the demuxer output SubRip packets.
...
The SRT format should never have outputted CODEC_ID_SRT packets in the
first place: SRT is a subtitle format containing SubRip text markup
events. The timing information is part of the format, not the codec, and
thus CODEC_ID_SRT should not exist.
Creating packets with the timing information within the payload only
leads to problem (such as remuxing with timing alteration not working),
especially when the SubRip markup is being used in container like
Matroska in addition to this standalone SRT format.
The main reason the timing line was included in those CODEC_ID_SRT
packets is likely because it contained extra information (the event
position) the codec actually needs. This issue is solved by using the
AV_PKT_DATA_SUBTITLE_POSITION side data type.
2012-10-25 00:09:36 +02:00
Clément Bœsch
4d46fd0b3e
lavc: add AV_PKT_DATA_SUBTITLE_POSITION side data type.
...
This commit introduces a new packet side data type for the subtitle
position information. This is meant to be used by the SRT format where
that information is stored along with the timing, which is not part of
the subrip packets.
2012-10-24 23:58:18 +02:00
Clément Bœsch
60d9ee1b75
lavc/utils: make sub decode consistent with A/V.
...
This allows side data to be transmitted properly with subtitles.
2012-10-24 23:56:43 +02:00
Clément Bœsch
a96b39de62
lavf/srtdec: simplify start/end computation.
...
Also fix potential overflow (CID733778)
2012-10-24 23:56:43 +02:00
Stefano Sabatini
a945607a78
ffprobe: add an array of section print buffers to the WriterContext
...
Allow to factorize buffers initialization/release, for all the writers
which use it. Simplify.
2012-10-24 23:40:21 +02:00
Stefano Sabatini
a161def1e4
Doxyfile: update examples path and patterns
2012-10-24 23:40:15 +02:00
Stefano Sabatini
ce875a613a
doc/texi2pod.pl: drop unnecessary rule, which was converting "\," to ","
...
I cannot find a reason for such a rule, which was resulting in badly
escaped filtergraph snippets.
Fix trac ticket #1610 .
2012-10-24 23:33:47 +02:00
Michael Niedermayer
f68ff2e0e7
fourcc2pixfmt: fix compilation
...
If someone finds a cleaner fix, dont hesitate to revert this!
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24 22:25:43 +02:00
Michael Niedermayer
95d07f33dc
libavfilter: include needed header for AVDictionary
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24 22:24:54 +02:00
Clément Bœsch
c01d1d4ddf
http: add -content_type user option.
2012-10-24 22:15:31 +02:00
Paul B Mahol
6ddb03caf0
pgmyuvenc: do not create files which are not supported
...
It is possible to support files with odd width and/or height
if real width and height are stored in header.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-10-24 18:38:31 +00:00
Paul B Mahol
e12cfd044c
lavf: const correctness for avformat_new_stream
...
Signed-off-by: Paul B Mahol <onemda@gmail.com>
2012-10-24 17:55:35 +00:00
Tomas Härdin
e3ba817b95
mxfenc: Fix possible integer overflows
...
None of these are likely unless the user is writing a file with two billion
streams or a duration of around two months.
This fixes CIDs 700568, 700569, 700570, 700571, 700572 and 700573.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24 17:46:27 +02:00
Tomas Härdin
fbb39f44f1
mxfdec: Fix potential leak in mxf_read_local_tags()
...
This fixes CID 733800.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24 17:45:49 +02:00
Tomas Härdin
1d22d269f5
mxfdec: Fix a potential DoS vector in mxf_read_pixel_layout()
...
There's a a potential DoS problem in this function. Say an MXF file is
created with a PixelLayout with a long run of non-zeroes. Such a file could be
sent quickly (packed) over the net and would unpack quite fast. mxfdec would
then read it byte-by-byte, which would take considerable time.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24 17:44:35 +02:00
Tomas Härdin
187630b244
mxfdec: Fix CID 732262
...
Coverity thinks ofs can end up 15, thus writing past the end of layout[]. This
is incorrect since it's always incremented by 2. Checking ofs <= 14 makes
Coverity happy and doesn't hurt.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24 17:44:35 +02:00
Mans Rullgard
a6e9d64977
configure: detect parisc64 automatically
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-24 16:26:51 +01:00
Mans Rullgard
56203596ae
configure: detect ppc64 automatically
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-24 16:26:51 +01:00
Mans Rullgard
2acda282eb
configure: detect mips64 automatically
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-24 16:26:51 +01:00
Mans Rullgard
d4c99513f4
configure: generalise 64-bit test
...
Signed-off-by: Mans Rullgard <mans@mansr.com>
2012-10-24 16:26:51 +01:00
Stefano Sabatini
55c77a0ca3
doc/filters: escape special Texinfo character @ in overlay example
2012-10-24 17:22:00 +02:00
Stefano Sabatini
51467ee868
doc/filters: remove unnecessary and inconsistent double ',' escaping
2012-10-24 17:21:25 +02:00
Michael Niedermayer
7d0ca5b7e4
doxygen: disable header/footer/stylesheet
...
They dont work at all and trash the output totally
also they are unmaintained -> that is if you want to maintain them
contact us !
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24 17:14:50 +02:00
Michael Niedermayer
8a34b85fa8
avio: detect implicit truncation by assert in avio_w*
...
This check is somewhat more lenient as would be ideal because we dont
know if the input is signed or unsigned
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24 15:42:00 +02:00
Michael Niedermayer
a3fb3a670e
avio: avoid implicit truncation in avio_w*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24 15:27:03 +02:00
Michael Niedermayer
e377b50b2d
matroskaenc: avoid implicit truncation in avio_w*
...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
2012-10-24 15:27:01 +02:00