]>
git.sesse.net Git - ffmpeg/log
Michael Niedermayer [Sat, 25 Oct 2014 11:17:26 +0000 (13:17 +0200)]
cmdutils: Read errno before av_log() as the callback from av_log() might affect errno
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 11:04:18 +0000 (13:04 +0200)]
avformat: Print error message on failure of ff_rename()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 02:57:05 +0000 (04:57 +0200)]
Merge commit '
50dbe6b3544fa64d5611e16553bf542fd71276b8 '
* commit '
50dbe6b3544fa64d5611e16553bf542fd71276b8 ':
mov: fix assigment check
Conflicts:
libavformat/mov.c
See:
af2e5061bbcabf5eae780929fa25784b6127759e
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 02:55:17 +0000 (04:55 +0200)]
Merge commit '
7df3b426bbfbd7efd9a0f56393e3cc78413b0869 '
* commit '
7df3b426bbfbd7efd9a0f56393e3cc78413b0869 ':
mxfenc: Fix possible integer overflows
Conflicts:
libavformat/mxfenc.c
See:
e3ba817b95bbdc7c8aaf83b4a6804d1b49eb4de4
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 02:51:44 +0000 (04:51 +0200)]
Michael Niedermayer [Sat, 25 Oct 2014 02:45:23 +0000 (04:45 +0200)]
Merge commit '
28c020d4df9b060a58a124a7a5406d4313fbe249 '
* commit '
28c020d4df9b060a58a124a7a5406d4313fbe249 ':
matroskaenc: check avio_open_dyn_buf return value
Conflicts:
libavformat/matroskaenc.c
See:
b1f517f503139ab9d0c406228b53663e86a128df
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 02:37:27 +0000 (04:37 +0200)]
Merge commit '
e0caa1eb4e518111a81801db0d2ccdd2733ba94b '
* commit '
e0caa1eb4e518111a81801db0d2ccdd2733ba94b ':
matroskadec: check return values
Conflicts:
libavformat/matroskadec.c
See:
1116491c53156dd1972eca3e65d5a3b8529c4658
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 02:31:44 +0000 (04:31 +0200)]
Merge commit '
3c1199c3c4cbdb4ffff0de89f06d5a08acefe356 '
* commit '
3c1199c3c4cbdb4ffff0de89f06d5a08acefe356 ':
matroskadec: fix leak on error
Conflicts:
libavformat/matroskadec.c
See:
2fe4b6210c4b56ecfe4668c78611a8a679303511
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 02:24:16 +0000 (04:24 +0200)]
Merge commit '
7785ce1c769369abf85b276148548a5510aabb5f '
* commit '
7785ce1c769369abf85b276148548a5510aabb5f ':
lavf: replace rename() with ff_rename()
Conflicts:
libavformat/hdsenc.c
libavformat/internal.h
See:
95d2fc6a76f3e0a98329f1ca70f98e7c085f0abf
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 01:44:17 +0000 (03:44 +0200)]
Merge commit '
0b66fb4505e0bb43de3797f63f3290f0188d67cc '
* commit '
0b66fb4505e0bb43de3797f63f3290f0188d67cc ':
flac_picture: prevent a possible out of bound write
This is only partly merged, the condition this checks for
is impossible to be true as it would imply avio_read() to
read more than the size passed to it
See:
731f7eaaade4c0cf91f8008cc30c0342caa64df1
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 01:37:21 +0000 (03:37 +0200)]
Merge commit '
f1ed83e23add1c26c50b146727e4c2399dfc0b3a '
* commit '
f1ed83e23add1c26c50b146727e4c2399dfc0b3a ':
img2dec: check av_new_packet return value
Conflicts:
libavformat/img2dec.c
See:
3f8148911c6e6e1f2a042bd4ca3ad8516a92130c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 01:27:13 +0000 (03:27 +0200)]
Merge commit '
1967cd4e4c1cd96dfa195ce14e4b212ddb70586d '
* commit '
1967cd4e4c1cd96dfa195ce14e4b212ddb70586d ':
audiointerleave: check av_new_packet return value
Conflicts:
libavformat/audiointerleave.c
See:
3ca8a2328878ebdb203e49d0a060df1b5337a370
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 25 Oct 2014 01:08:19 +0000 (03:08 +0200)]
Merge commit '
ac84c1ce24a285f9cf16d4297bce73b1c4a6e435 '
* commit '
ac84c1ce24a285f9cf16d4297bce73b1c4a6e435 ':
avfilter: check filter link validity
Conflicts:
libavfilter/avfilter.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Vittorio Giovara [Mon, 20 Oct 2014 13:11:25 +0000 (14:11 +0100)]
mov: fix assigment check
CC: libav-stable@libav.org
Bug-Id: CID
1197050
Tomas Härdin [Thu, 23 Oct 2014 23:05:59 +0000 (00:05 +0100)]
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.
CC: libav-stable@libav.org
Bug-Id: CID 700568 / CID 700569 / CID 700570 /
CID 700571 / CID 700572 / CID 700573
Vittorio Giovara [Thu, 23 Oct 2014 23:05:57 +0000 (00:05 +0100)]
mxfdec: add missing break
CC: libav-stable@libav.org
Bug-Id: CID 732232
Vittorio Giovara [Thu, 23 Oct 2014 23:05:55 +0000 (00:05 +0100)]
matroskaenc: check avio_open_dyn_buf return value
CC: libav-stable@libav.org
Bug-Id: CID 703629
Vittorio Giovara [Thu, 23 Oct 2014 23:05:53 +0000 (00:05 +0100)]
matroskadec: check return values
CC: libav-stable@libav.org
Bug-Id: CID 733712
Vittorio Giovara [Thu, 23 Oct 2014 23:05:52 +0000 (00:05 +0100)]
matroskadec: fix leak on error
CC: libav-stable@libav.org
Bug-Id: CID
1026767
Luca Barbato [Sun, 19 Oct 2014 22:48:49 +0000 (00:48 +0200)]
lavf: replace rename() with ff_rename()
The new function wraps errno so that its value is correctly reported
when other functions overwrite it (eg. in case of logging).
CC: libav-stable@libav.org
Bug-Id: CID
1135748
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Vittorio Giovara [Mon, 20 Oct 2014 13:11:21 +0000 (14:11 +0100)]
flac_picture: prevent a possible out of bound write
At "mimetype[len] = 0;" mimetype is a 64 element array and len might be
equal to or greater than that.
CC: libav-stable@libav.org
Bug-Id: CID
1061055
Vittorio Giovara [Mon, 20 Oct 2014 13:11:15 +0000 (14:11 +0100)]
img2dec: check av_new_packet return value
CC: libav-stable@libav.org
Bug-Id: CID
1087077
Vittorio Giovara [Mon, 20 Oct 2014 13:11:14 +0000 (14:11 +0100)]
audiointerleave: check av_new_packet return value
CC: libav-stable@libav.org
Bug-Id: CID
1087078
Vittorio Giovara [Mon, 20 Oct 2014 13:11:13 +0000 (14:11 +0100)]
avfilter: check filter link validity
Remove now redundant check.
CC: libav-stable@libav.org
Bug-Id: CID 700371
Michael Niedermayer [Fri, 24 Oct 2014 22:22:04 +0000 (00:22 +0200)]
Changelog: add entry for libutvideo 422P10
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sun, 19 Oct 2014 12:34:09 +0000 (14:34 +0200)]
avcodec/libutvideodec: Support YUV422P10
Based on ConvertToPlanar() from libutvideo
libutvideo sadly does not seem to support exporting its internal planar buffers
Reviewed-by: Benoit Fouet <benoit.fouet@free.fr>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Eric Zimmerman [Thu, 9 Oct 2014 17:12:44 +0000 (10:12 -0700)]
Added support for G2M5 codec
This has also been independently found and fixed similarly by carl in
f4a3bbf4a3cd375121ea2495817f3e50e831ed48
The 2nd magic check is taken from carls implementation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 17:23:23 +0000 (19:23 +0200)]
avformat: Add and use ff_copy_whitelists()
Fixes potential security issue in case of running out of memory
Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Benoit Fouet [Fri, 24 Oct 2014 10:31:45 +0000 (12:31 +0200)]
avcodec/aacdec: warn user when remapping streams.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 16:06:26 +0000 (18:06 +0200)]
avformat/mp3dec: also accept Lavc as shortname to read delays
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 13:47:33 +0000 (15:47 +0200)]
avformat/mp3enc: Squeeze our mp3 encoder tag into the 9byte shortname instead of randomly truncating
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 12:48:12 +0000 (14:48 +0200)]
Merge commit '
ef363ebd596da18f889a7d4845023a23dfac84c9 '
* commit '
ef363ebd596da18f889a7d4845023a23dfac84c9 ':
mp3enc: write full LAME frame
Conflicts:
libavformat/mp3enc.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 11:04:34 +0000 (13:04 +0200)]
Merge commit '
88b32673db39440422a73ec3047d3326c96b4fb2 '
* commit '
88b32673db39440422a73ec3047d3326c96b4fb2 ':
avconv: copy stream-level side data when streamcopying
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 10:58:22 +0000 (12:58 +0200)]
Merge commit '
c63418e0a3afbcdbc59fd65c270d45efafe092ce '
* commit '
c63418e0a3afbcdbc59fd65c270d45efafe092ce ':
doc: reword the mp3 muxer documentation
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 10:49:53 +0000 (12:49 +0200)]
Merge commit '
99143140dea12363af680d02e23cb42cfe191679 '
* commit '
99143140dea12363af680d02e23cb42cfe191679 ':
mp3dec: fix reading the Xing tag
Conflicts:
libavformat/mp3dec.c
See:
19ff479f694ddccc1fd1fa00eff94f96ca82671b
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 10:40:08 +0000 (12:40 +0200)]
Merge commit '
6df9d9b55d3f56ee7782639a7678eeeaf77f14ea '
* commit '
6df9d9b55d3f56ee7782639a7678eeeaf77f14ea ':
lavf: Use av_gettime_relative
Conflicts:
libavformat/hls.c
See:
f78bc96b7c1c74caf99a7139cf81ce1110404965
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 10:30:10 +0000 (12:30 +0200)]
Merge commit '
d0c093021943e9b9c23528b12cd61ca2a5b01b4f '
* commit '
d0c093021943e9b9c23528b12cd61ca2a5b01b4f ':
avconv: Use av_gettime_relative
Conflicts:
ffmpeg.c
See:
76191c08f88fd66cf9198afc0c4a809c4c0336d4
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 10:16:09 +0000 (12:16 +0200)]
Merge commit '
248d8fb60c59c8e044d9c8f78f23383b7cdecf72 '
* commit '
248d8fb60c59c8e044d9c8f78f23383b7cdecf72 ':
avplay: Use av_gettime_relative
Conflicts:
ffplay.c
See:
0ca0b4c29cf750cbb15732cddbe16723a66afda8
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 24 Oct 2014 09:57:10 +0000 (11:57 +0200)]
Michael Niedermayer [Fri, 24 Oct 2014 09:41:02 +0000 (11:41 +0200)]
Michael Niedermayer [Fri, 24 Oct 2014 09:04:52 +0000 (11:04 +0200)]
Merge commit '
1bd0bdcdc236099d5c0d179696951f35f5310fa5 '
* commit '
1bd0bdcdc236099d5c0d179696951f35f5310fa5 ':
lavu: Add av_gettime_relative
Conflicts:
libavutil/time.c
libavutil/time.h
libavutil/version.h
See:
0eec06ed8747923faa6a98e474f224d922dc487d
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Sat, 12 Apr 2014 13:20:57 +0000 (15:20 +0200)]
mp3enc: write full LAME frame
Most importantly, it contains the encoder delay and replaygain info.
Anton Khirnov [Sat, 18 Oct 2014 16:19:55 +0000 (18:19 +0200)]
avconv: copy stream-level side data when streamcopying
Anton Khirnov [Sat, 12 Apr 2014 13:20:01 +0000 (15:20 +0200)]
doc: reword the mp3 muxer documentation
Make it more structured.
Anton Khirnov [Sat, 18 Oct 2014 14:25:16 +0000 (16:25 +0200)]
mp3dec: fix reading the Xing tag
The quality scale field is only supposed to be present if the fourth bit
is set. In practice, lame always sets it, but other tools might not.
CC:libav-stable@libav.org
Martin Storsjö [Wed, 22 Oct 2014 09:40:46 +0000 (12:40 +0300)]
lavf: Use av_gettime_relative
The ones left using av_gettime are NTP timestamps (for RTCP,
which is specified to send the actual current realtime clock
in RTCP SR packets), and the NUT muxer timestamper, which is
documented as using wallclock time.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 22 Oct 2014 09:25:23 +0000 (12:25 +0300)]
avconv: Use av_gettime_relative
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 22 Oct 2014 09:23:08 +0000 (12:23 +0300)]
avplay: Use av_gettime_relative
Signed-off-by: Martin Storsjö <martin@martin.st>
Olivier Langlois [Tue, 6 May 2014 21:16:50 +0000 (17:16 -0400)]
tools: Use av_gettime_relative
Whenever av_gettime() is used to measure relative period of time,
av_gettime_relative() is prefered as it guarantee monotonic time
on supported platforms.
Signed-off-by: Martin Storsjö <martin@martin.st>
Olivier Langlois [Tue, 6 May 2014 21:16:49 +0000 (17:16 -0400)]
lavc: Use av_gettime_relative
Whenever av_gettime() is used to measure relative period of time,
av_gettime_relative() is prefered as it guarantee monotonic time
on supported platforms.
Signed-off-by: Martin Storsjö <martin@martin.st>
Martin Storsjö [Wed, 22 Oct 2014 09:14:37 +0000 (12:14 +0300)]
lavu: Add av_gettime_relative
Since av_gettime() is used in a number of places where actual
real time clock is required, the monotonic clock introduced in
ebef9f5a5 would have consequences that are hard to handle. Instead
split it into a separate function that can be used in the cases
where only relative time is desired.
On platform where no monotonic clock is available, the difference
between the two av_gettime functions is not clear, and one could
mistakenly use the relative clock where an absolute one is
required. Therefore add an offset, to make it evident that the
time returned from av_gettime_relative never is actual current
real time, even though it is based on av_gettime.
Based on a patch by Olivier Langlois.
Signed-off-by: Martin Storsjö <martin@martin.st>
Andrey Utkin [Thu, 23 Oct 2014 16:55:45 +0000 (20:55 +0400)]
avformat/rtsp: pass return code from ffurl_open() on its failure
Previously, AVERROR(EIO) was returned. Now the value is passed from
lower level, thus it is possible to distinguish ECONNREFUSED, ETIMEDOUT,
ENETUNREACH etc.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 21:48:45 +0000 (23:48 +0200)]
avformat/rtsp: add av_assert0() to clarify that the else case is supposed to be unreachable
If its reachable then theres a bug as err would be uninitialized
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 21:32:32 +0000 (23:32 +0200)]
Merge remote-tracking branch 'cehoyos/master'
* cehoyos/master:
Print an error if -r and -vsync 0 are used together.
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 21:09:01 +0000 (23:09 +0200)]
avcodec/utils: Print the codec name that is missing on the whitelist
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Carl Eugen Hoyos [Thu, 23 Oct 2014 21:27:46 +0000 (23:27 +0200)]
Print an error if -r and -vsync 0 are used together.
Fixes ticket #4041.
Michael Niedermayer [Thu, 23 Oct 2014 21:02:48 +0000 (23:02 +0200)]
avcodec/options_table: Fix codec_whitelist flags
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Andrey Utkin [Thu, 23 Oct 2014 16:55:46 +0000 (20:55 +0400)]
avformat/http: pass return code from http_open_cnx_internal() on its failure
Previously, AVERROR(EIO) was returned on failure of
http_open_cnx_internal(). Now the value is passed to upper level, thus
it is possible to distinguish ECONNREFUSED, ETIMEDOUT, ENETUNREACH etc.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 14:13:05 +0000 (16:13 +0200)]
avformat/concatdec: Forward whitelists to the subdemuxers.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 14:08:51 +0000 (16:08 +0200)]
Forward whitelists to the asf demuxer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 14:07:31 +0000 (16:07 +0200)]
avformat/avidec: Forward whitelists to the subtitle demuxer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 14:07:00 +0000 (16:07 +0200)]
avformat/mpeg: Forward whitelists to the mpegps demuxer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 14:04:45 +0000 (16:04 +0200)]
avformat/libquvi: Forward whitelists to subdemuxer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
James Almer [Thu, 23 Oct 2014 03:43:43 +0000 (00:43 -0300)]
x86/hpeldsp: fix loop in {avg,avg_no_rnd}_pixels16_x2_mmx
Handle it inside the __asm__() block.
Fixes fate-vc1_ilaced_twomv when using the gcc-usan toolchain.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
Michael Niedermayer [Thu, 23 Oct 2014 13:27:21 +0000 (15:27 +0200)]
avformat/sapdec: Forward whitelists to sdp demuxer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 13:26:46 +0000 (15:26 +0200)]
avformat/hls: forward whitelists to mpegts demuxer
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 10:22:21 +0000 (12:22 +0200)]
avutil/avstring: fix hardcoded separator in av_match_list()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 02:33:57 +0000 (04:33 +0200)]
avutil/avstring: Reimplement av_match_list()
av_match_list() is only used for whitelists, fix it so it works with
multi-named formats like "mov,mp4,m4a,3gp,3g2,mj2"
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 23 Oct 2014 02:33:09 +0000 (04:33 +0200)]
avformat/format: Use av_match_name() instead of list in av_match_ext()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Eejya Singh [Mon, 20 Oct 2014 20:25:39 +0000 (01:55 +0530)]
Added STL demuxer and decoder
Signed-off-by: Clément Bœsch <u@pkh.me>
Lukasz Marek [Sun, 19 Oct 2014 14:37:16 +0000 (16:37 +0200)]
ffserver_conf: factorize parse function per config tag
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Lukasz Marek [Sun, 19 Oct 2014 14:59:02 +0000 (16:59 +0200)]
ffserver_config: clean up variable initialization
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Lukasz Marek [Sun, 19 Oct 2014 13:39:06 +0000 (15:39 +0200)]
ffserver: move configuration code to separate file
This commit doesn't change any existing logic.
It moves ffserver configuration related code to separate file.
It intends to make maintaining easier.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Christophe Gisquet [Sun, 12 Oct 2014 19:10:54 +0000 (21:10 +0200)]
avcodec/tiffenc: properly compute packet size
The bytes per row is a better indication of it.
Helps resolving ticket #3874 by fixing ffmpeg's encoder and transforming
the issue in a issue with non-compliant decoders. ffmpeg's one is ok,
but unfortunately, many others aren't handling correctly unusual chroma
samplings.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 22 Oct 2014 15:08:00 +0000 (17:08 +0200)]
ffmpeg: avoid endlessly reading from one input while another is unavailable
Testcase in Ticket 4051
Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 22 Oct 2014 14:15:02 +0000 (16:15 +0200)]
avformat/mux: Fix assertion failure due to max_interleave_delta and poor input
Fixes Ticket4051
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Neil Birkbeck [Wed, 22 Oct 2014 06:40:06 +0000 (23:40 -0700)]
avfilter/vf_idet: Fixes issue with idet not flushing last frame.
Uses a similar approach as vf_yadif to flush the last frame in idet.
Quick test with 50 frames from vsynth1:
./ffmpeg.old -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 -y /dev/null 2>&1 | grep Multi
(gives) [Parsed_idet_0 @ 0x261ebb0] Multi frame detection: TFF:0 BFF:0 Progressive:48 Undetermined:1
./ffmpeg -i fate-suite/ffmpeg-synthetic/vsynth1/%02d.pgm -vf idet -f mp4 -y /dev/null 2>&1 | grep Multi
(gives) [Parsed_idet_0 @ 0x35a0bb0] Multi frame detection: TFF:0 BFF:0 Progressive:49 Undetermined:1
Fate tests have been updated.
(In testing, it seems this filter will also need a subsequent patch for single frame input)
Signed-off-by: Neil Birkbeck <neil.birkbeck@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 22 Oct 2014 02:21:39 +0000 (04:21 +0200)]
avformat/matroskadec: Fix cluster parsing loop which gathers seek information
Fixes Ticket2263
Fixes Ticket3934
Reviewed-by: Rodger Combs <rodger.combs@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
James Almer [Sat, 18 Oct 2014 21:10:33 +0000 (18:10 -0300)]
tools/crypto_bench: add CAST5 support
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: James Almer <jamrial@gmail.com>
Michael Niedermayer [Wed, 22 Oct 2014 00:28:54 +0000 (02:28 +0200)]
avcodec/mjpegdec: use FF_CEIL_RSHIFT() for width
No testcase known
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Carl Eugen Hoyos [Tue, 21 Oct 2014 23:37:02 +0000 (01:37 +0200)]
lavf/cinedec: Fix a typo in the file header.
Michael Niedermayer [Tue, 21 Oct 2014 22:17:29 +0000 (00:17 +0200)]
Merge commit '
af7ca6ea124b82b337a6b96e10963e88eba57ebe '
* commit '
af7ca6ea124b82b337a6b96e10963e88eba57ebe ':
nutdec: check av_new_packet return value
Conflicts:
libavformat/nutdec.c
See:
bb502411ddb9fe1928d4a999693a3a49b83f8698
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 21 Oct 2014 22:09:00 +0000 (00:09 +0200)]
Merge commit '
b69183f65d0f6f4cd7a4e6c0deb57d59b0185aba '
* commit '
b69183f65d0f6f4cd7a4e6c0deb57d59b0185aba ':
nutenc: check for negative index rather than assert
Conflicts:
libavformat/nutenc.c
Not merged, the assert is correct
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 21 Oct 2014 21:47:44 +0000 (23:47 +0200)]
Merge commit '
be42c0b8d57fe2ea769892d102ffd5561dc18709 '
* commit '
be42c0b8d57fe2ea769892d102ffd5561dc18709 ':
rmdec: stricter error check to avoid theoretical unitialized use
Conflicts:
libavformat/rmdec.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 21 Oct 2014 20:48:19 +0000 (22:48 +0200)]
Merge commit '
7207dd8f829baee58b4df6c97c19ffde77039e8d '
* commit '
7207dd8f829baee58b4df6c97c19ffde77039e8d ':
rmdec: check av_new_packet return value
Conflicts:
libavformat/rmdec.c
See:
c01a462cda8d7f298a3ac6d20752d23a11e43a8a
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Lukasz Marek [Sat, 18 Oct 2014 18:22:35 +0000 (20:22 +0200)]
lavd/fbdev_common: report error during probing fbdev device
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Lukasz Marek [Sat, 18 Oct 2014 17:35:47 +0000 (19:35 +0200)]
lavd/fbdev_dec: use default device when not provided
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Michael Niedermayer [Tue, 21 Oct 2014 20:35:30 +0000 (22:35 +0200)]
Merge commit '
629b2ed0ac77d7c4bf1aeac5e70cafee5fa0fcae '
* commit '
629b2ed0ac77d7c4bf1aeac5e70cafee5fa0fcae ':
flvdec: make sure to check create_stream and report the same error
Conflicts:
libavformat/flvdec.c
See:
d7d5b5dfc1b6f29646d2c1908c9bac8677f34256
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 21 Oct 2014 20:06:46 +0000 (22:06 +0200)]
Merge commit '
f22aa6b841dc54fa1dd804303885b1e230a5f629 '
* commit '
f22aa6b841dc54fa1dd804303885b1e230a5f629 ':
flvdec: avoid unitialized use of a struct member
See:
396ddcf22d55fa7e735d69eed22a4a4b1649b73c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 21 Oct 2014 20:00:04 +0000 (22:00 +0200)]
Merge commit '
e73d26bbd65f1ac5fc73ef3fd24cab1bed8ba2e2 '
* commit '
e73d26bbd65f1ac5fc73ef3fd24cab1bed8ba2e2 ':
smoothstreamingenc: explict cast to avoid overflow
Conflicts:
libavformat/smoothstreamingenc.c
See:
b399816d9c3d0fc3efd742b04f269c1055cc6e2b
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 21 Oct 2014 19:43:42 +0000 (21:43 +0200)]
Merge commit '
04d8af5f17961b9b7076b8c974e360feb08787c2 '
* commit '
04d8af5f17961b9b7076b8c974e360feb08787c2 ':
fate-mpeg4: use TARGET_SAMPLES for resize tests
Conflicts:
tests/fate/mpeg4.mak
See:
c40a1bd253f673d821a5df2a7a863a1837446123
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 21 Oct 2014 18:56:17 +0000 (20:56 +0200)]
avcodec/mjpegdec: simplify chroma_height calculation
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Mika Raento [Tue, 21 Oct 2014 12:04:10 +0000 (15:04 +0300)]
mov.c: reasonable bitrate for fragmented mp4
If using MFRA for timestamps, the stream may start from a large offset
and/or have gaps. With this change we calculate the bitrate based on
frames we've seen.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 21 Oct 2014 14:41:47 +0000 (16:41 +0200)]
avcodec/mjpegdec: Support
24111100 pix fmt id
Fixes 129533924_640.jpg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Vittorio Giovara [Mon, 20 Oct 2014 13:11:19 +0000 (14:11 +0100)]
nutdec: check av_new_packet return value
CC: libav-stable@libav.org
Bug-Id: CID 733713
Vittorio Giovara [Mon, 20 Oct 2014 13:11:20 +0000 (14:11 +0100)]
nutenc: check for negative index rather than assert
CC: libav-stable@libav.org
Bug-Id: CID 703721
Vittorio Giovara [Mon, 20 Oct 2014 13:11:16 +0000 (14:11 +0100)]
rmdec: stricter error check to avoid theoretical unitialized use
CC: libav-stable@libav.org
Bug-Id: CID 90558
Vittorio Giovara [Mon, 20 Oct 2014 13:11:17 +0000 (14:11 +0100)]
rmdec: check av_new_packet return value
CC: libav-stable@libav.org
Bug-Id: CID 733714
Vittorio Giovara [Mon, 20 Oct 2014 11:56:41 +0000 (12:56 +0100)]
flvdec: make sure to check create_stream and report the same error
CC: libav-stable@libav.org
Bug-Id: CID 732242
Vittorio Giovara [Mon, 20 Oct 2014 11:56:42 +0000 (12:56 +0100)]
flvdec: avoid unitialized use of a struct member
CC: libav-stable@libav.org
Bug-Id: CID 718141