OSDN Git Service
Giorgio Vazzana [Fri, 15 Jun 2012 15:21:36 +0000 (17:21 +0200)]
md5: consistently use uint32_t instead of unsigned int
Basically to make code clearer and adherent to the
standard. RFC 1321, on page 2 states
Let the symbol "+" denote addition of words (i.e., modulo-2^32
addition). Let X <<< s denote the 32-bit value obtained by circularly
shifting (rotating) X left by s bit positions.
on page 3, section 3.3 states:
A four-word buffer (A,B,C,D) is used to compute the message digest.
Here each of A, B, C, D is a 32-bit register.
so the algorithm needs to work with integers that are exactly 32bits
in length. And indeed in struct AVMD5 the MD buffer is declared as
"uint32_t ABCD[4];", while in the function that performs the block
transformation the state variables were "unsigned int"s. On
architectures where sizeof(unsigned int) != sizeof(uint32_t) this
could be a problem, although I can't name such an architecture from
the top of my head.
On a side note, both the reference implementation in RFC 1321 and the
gnulib implementation (used by md5sum program on GNU systems) use
uint32_t in the transform function.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Sat, 16 Jun 2012 00:50:00 +0000 (02:50 +0200)]
MAINTAINERS: add my GPG fingerprint.
Michael Niedermayer [Fri, 15 Jun 2012 23:54:11 +0000 (01:54 +0200)]
vf_pad: check that we have write permission before writing in the buffer.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Stefano Sabatini [Fri, 25 May 2012 11:14:53 +0000 (13:14 +0200)]
lavfi: add asetnsamples audio filter
This filter changes the number of samples on single output operation.
Based on a patch by Andrey Utkin <andrey.krieger.utkin@gmail.com>.
Stefano Sabatini [Fri, 15 Jun 2012 14:49:09 +0000 (16:49 +0200)]
lavfi/split: give a more accurate description to split
The filter now supports a configurable number of outputs.
Stefano Sabatini [Wed, 13 Jun 2012 12:33:32 +0000 (14:33 +0200)]
ffprobe: add writer_print_rational()
Improve overall consistency, allow some factorization.
Stefano Sabatini [Thu, 14 Jun 2012 23:47:47 +0000 (01:47 +0200)]
doc/filters: prefer @itemize environment for frei0r examples
Stefano Sabatini [Thu, 14 Jun 2012 23:40:45 +0000 (01:40 +0200)]
doc/filters: update Frei0r website link
Frei0r recently changed website host.
Stefano Sabatini [Thu, 14 Jun 2012 22:50:43 +0000 (00:50 +0200)]
lavfi/super2xsai: simplify code updating the color matrix at each y iteration
Remove duplicated out-of-loop init code, and do color matrix
initialization at the beginning of each y iteration.
Allow factorization and avoid an useless matrix update in the last
iteration.
Stefano Sabatini [Thu, 14 Jun 2012 22:40:15 +0000 (00:40 +0200)]
lavfi/super2xsai: fix table used to update color matrix at the end of each y loop
The previous table appears to be wrong (it was copied from the original
MPlayer super2xsai filter in order to keep binary compatibility).
The new table is consistent with the init code and apparently fixes a
combing artifact on the left edge of the generated image.
Stefano Sabatini [Thu, 14 Jun 2012 22:33:33 +0000 (00:33 +0200)]
fate/lavfi: add lavfi-pixfmts_super2xsai test
Stefano Sabatini [Thu, 14 Jun 2012 11:12:18 +0000 (13:12 +0200)]
lavfi/video: set output frame w/h properties in default_start_frame()
Use the same values of the video output link.
Avoid the need to override the default_start_frame() with an ad-hoc
start_frame() callback.
In particular, fix the super2xsai filter which was setting the
input w/h values in the output.
Stefano Sabatini [Sun, 10 Jun 2012 16:17:50 +0000 (18:17 +0200)]
lavfi/avcodec: add consistency checks in avfilter_copy_buf_props()
The function will abort through an assert if the source is not defined,
or if the internal state of the source is inconsistent (e.g. type = AUDIO
&& !src->audio).
Stefano Sabatini [Thu, 14 Jun 2012 11:10:14 +0000 (13:10 +0200)]
lavc/rawdec: fix various bogus error codes and add some logs
Help debugging.
Stefano Sabatini [Thu, 14 Jun 2012 11:02:57 +0000 (13:02 +0200)]
lavc/utils: in avcodec_decode_video2() return proper error code instead of -1
Return AVERROR(EINVAL) in case of invalid coded size.
Michael Niedermayer [Fri, 15 Jun 2012 18:55:37 +0000 (20:55 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
af_resample: fix format modifier in debug string for FF_API_SAMPLERATE64
segment: remove unnecessary <strings.h> include
fate: add snow hpel tests
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Janne Grunau [Fri, 15 Jun 2012 14:07:29 +0000 (16:07 +0200)]
af_resample: fix format modifier in debug string for FF_API_SAMPLERATE64
Janne Grunau [Thu, 14 Jun 2012 16:41:47 +0000 (18:41 +0200)]
segment: remove unnecessary <strings.h> include
Mans Rullgard [Thu, 14 Jun 2012 12:58:08 +0000 (12:58 +0000)]
fate: add snow hpel tests
Signed-off-by: Janne Grunau <janne-libav@jannau.net>
Paul B Mahol [Tue, 27 Mar 2012 16:35:09 +0000 (16:35 +0000)]
j2kdec: move s->avctx initialization to j2kdec_init()
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Fri, 15 Jun 2012 11:46:12 +0000 (11:46 +0000)]
j2kdec: check colorspace ncomponents
This prevents out of array read.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Fri, 15 Jun 2012 17:38:03 +0000 (19:38 +0200)]
nutenc: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 15 Jun 2012 17:37:53 +0000 (19:37 +0200)]
amr: use av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 15 Jun 2012 17:37:03 +0000 (19:37 +0200)]
lavf/aviobuf: use av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Bradshaw [Thu, 14 Jun 2012 16:54:09 +0000 (10:54 -0600)]
lavf: cosmetic: format else with indentation
Signed-off-by: Michael Bradshaw <mbradshaw@sorensonmedia.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Clément Bœsch [Fri, 15 Jun 2012 16:42:10 +0000 (18:42 +0200)]
lavc/microdvddec: fix color parsing.
Clément Bœsch [Fri, 15 Jun 2012 16:41:14 +0000 (18:41 +0200)]
lavc/microdvddec: properly reset non persistent color tag.
Clément Bœsch [Fri, 15 Jun 2012 16:40:14 +0000 (18:40 +0200)]
lavf/{srt,microdvd}: correctly raise error on avformat_new_stream() error.
Martin Sliwka [Fri, 15 Jun 2012 13:05:33 +0000 (15:05 +0200)]
file: Fix handling of windows named pipes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Sat, 2 Jun 2012 21:01:13 +0000 (23:01 +0200)]
avio: Collect and print statistics of bytes read & seeks
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
William Yu [Fri, 15 Jun 2012 07:46:13 +0000 (15:46 +0800)]
lavfi: af_amerge options array was not ended with NULL
Add a NULL to prevent undefined behavior
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Fri, 15 Jun 2012 08:29:13 +0000 (10:29 +0200)]
revert "extern inline" usage
as it breaks ICC:
libavcodec/libavcodec.a(snowenc.o): In function `encode_q_branch':
/home/fate/x86_64-linux-gnu-icc-2011.4.191/src/libavcodec/snowenc.c:405: undefined reference to `ff_epzs_motion_search'
/home/fate/x86_64-linux-gnu-icc-2011.4.191/src/libavcodec/snowenc.c:414: undefined reference to `ff_get_mb_score'
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
J. Bohl [Thu, 14 Jun 2012 21:09:52 +0000 (23:09 +0200)]
new attribute "extern inline" (fixing linker error with ff_get_mb_score and ff_get_mb_score)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Thu, 14 Jun 2012 21:51:23 +0000 (21:51 +0000)]
configure: do not auto enable mlp decoder when enabling truehd decoder
It is generally bad idea even if codecs use same code.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 14 Jun 2012 23:18:07 +0000 (23:18 +0000)]
Remove duplicated png and mng signatures.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Thu, 14 Jun 2012 23:35:52 +0000 (01:35 +0200)]
matroskadec: add assert on lack of overflow in pkt_size+offset
currently a overflow there should be impossible but future changes to
the code could easily introduce a bug that no longer limits the 2
values sufficiently so better protect it via av_assert.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 14 Jun 2012 23:29:30 +0000 (01:29 +0200)]
matroskadec: change size check in matroska_decode_buffer() to unsigned
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 14 Jun 2012 23:28:40 +0000 (01:28 +0200)]
matroskadec: move lace_size check up so it catches all code pathes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 14 Jun 2012 23:27:56 +0000 (01:27 +0200)]
matroskadec: change assert to av_assert0()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Dale Curtis [Thu, 14 Jun 2012 22:22:25 +0000 (15:22 -0700)]
Fix incorrect unsigned->signed conversion.
Signed-off-by: Dale Curtis <dalecurtis@chromium.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 14 Jun 2012 22:09:39 +0000 (00:09 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
Avoid C99 variable declarations within for statements.
rtmp: Read and handle incoming packets while writing data
doc: document THREAD_TYPE fate variable
rtpdec: Don't require frames to start with a Mode A packet
avconv: don't try to free threads that were not initialized.
Conflicts:
doc/fate.texi
ffplay.c
libavdevice/dv1394.h
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 14 Jun 2012 21:52:56 +0000 (23:52 +0200)]
riff: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 14 Jun 2012 21:52:40 +0000 (23:52 +0200)]
rawdec: use av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Thu, 14 Jun 2012 21:52:23 +0000 (23:52 +0200)]
pcmdec: use av_assert()
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diego Biurrun [Thu, 14 Jun 2012 08:19:06 +0000 (10:19 +0200)]
Avoid C99 variable declarations within for statements.
We generally do not declare variables within for statements and
there are compilers that choke on such constructs.
Michael Niedermayer [Thu, 14 Jun 2012 14:26:15 +0000 (16:26 +0200)]
mjpegenc: support slice multithreading
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Samuel Pitoiset [Thu, 14 Jun 2012 13:28:40 +0000 (15:28 +0200)]
rtmp: Read and handle incoming packets while writing data
This makes sure all incoming packets are read and handled (and reacted
to) while sending an FLV stream over RTMP to a server. If there were
enough incoming data to fill the TCP buffers, this could potentially
make things block at unexpected places. For the upcoming RTMPT support,
we need to consume all incoming data before we can send the next
request.
Signed-off-by: Martin Storsjö <martin@martin.st>
Luca Barbato [Thu, 14 Jun 2012 18:27:31 +0000 (20:27 +0200)]
doc: document THREAD_TYPE fate variable
Martin Storsjö [Thu, 14 Jun 2012 12:13:14 +0000 (15:13 +0300)]
rtpdec: Don't require frames to start with a Mode A packet
While there is no reason for starting a frame with anything else
than a Mode A packet, some senders seem to consistently use Mode B
packets for everything. This fixes depacketization of such streams.
Signed-off-by: Martin Storsjö <martin@martin.st>
Paul B Mahol [Thu, 14 Jun 2012 17:04:00 +0000 (17:04 +0000)]
png_parser: use designated initializers
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 14 Jun 2012 15:47:59 +0000 (15:47 +0000)]
Add truehd decoder line.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 14 Jun 2012 15:19:43 +0000 (15:19 +0000)]
flashsv2enc: align codec declarations
While here constify enums for .pix_fmts.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Thu, 14 Jun 2012 15:12:02 +0000 (15:12 +0000)]
g729dec: align codec declarations
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Paul B Mahol [Mon, 11 Jun 2012 12:32:47 +0000 (12:32 +0000)]
mjpegdec: remove superfluous "mjpeg "
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Nicolas George [Thu, 14 Jun 2012 11:54:00 +0000 (13:54 +0200)]
bprint: implement vsnprintf for win32.
Anton Khirnov [Wed, 13 Jun 2012 11:33:42 +0000 (13:33 +0200)]
avconv: don't try to free threads that were not initialized.
Paul B Mahol [Thu, 14 Jun 2012 02:38:35 +0000 (02:38 +0000)]
vqavideo: pass context to remaining av_(d)log
Finally get rid of all superfluous strings from av_log messages.
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Martin T. H. Sandsmark [Thu, 14 Jun 2012 00:30:55 +0000 (02:30 +0200)]
asfdec: fix returned error codes
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
David Hill [Wed, 13 Jun 2012 23:56:29 +0000 (19:56 -0400)]
configure: support Bitrig OS
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
David Hill [Thu, 14 Jun 2012 00:20:47 +0000 (02:20 +0200)]
configure: fix SLIBNAME_WITH_MAJOR for openbsd (and bitrig in the next commit)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 13 Jun 2012 23:38:59 +0000 (01:38 +0200)]
fate.texi: fix typo in title
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 13 Jun 2012 19:04:06 +0000 (21:04 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
rtmp: Add a new option 'rtmp_buffer', for setting the client buffer time
rtmp: Set the client buffer time to 3s instead of 0.26s
rtmp: Handle server bandwidth packets
rtmp: Display a verbose message when an unknown packet type is received
lavfi/audio: use av_samples_copy() instead of custom code.
configure: add all filters hardcoded into avconv to avconv_deps
avfiltergraph: remove a redundant call to avfilter_get_by_name().
lavfi: allow building without swscale.
build: Do not delete tests/vsynth2 directory, which is no longer created.
lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs
lavfi: make AVFilterPad opaque after two major bumps.
lavfi: add avfilter_pad_get_type() and avfilter_pad_get_name().
lavfi: make avfilter_get_video_buffer() private on next bump.
jack: update to new latency range API as the old one has been deprecated
rtmp: Tokenize the AMF connection parameters manually instead of using strtok_r
ppc: Rename H.264 optimization template file for consistency.
lavfi: add channelsplit audio filter.
golomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()
sws: fix planar RGB input conversions for 9/10/16 bpp.
Conflicts:
Changelog
configure
doc/APIchanges
ffmpeg.c
libavcodec/golomb.h
libavcodec/v210dec.h
libavfilter/Makefile
libavfilter/allfilters.c
libavfilter/asrc_anullsrc.c
libavfilter/audio.c
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/avfiltergraph.c
libavfilter/buffersrc.c
libavfilter/formats.c
libavfilter/version.h
libavfilter/vf_frei0r.c
libavfilter/vf_pad.c
libavfilter/vf_scale.c
libavfilter/video.h
libavfilter/vsrc_color.c
libavformat/rtmpproto.c
libswscale/input.c
tests/Makefile
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 13 Jun 2012 16:51:50 +0000 (18:51 +0200)]
nutenc: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 13 Jun 2012 16:51:38 +0000 (18:51 +0200)]
mpegtsenc: use av_assert
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Samuel Pitoiset [Wed, 13 Jun 2012 13:02:03 +0000 (15:02 +0200)]
rtmp: Add a new option 'rtmp_buffer', for setting the client buffer time
Signed-off-by: Martin Storsjö <martin@martin.st>
Samuel Pitoiset [Wed, 13 Jun 2012 12:48:02 +0000 (14:48 +0200)]
rtmp: Set the client buffer time to 3s instead of 0.26s
This factorizes existing code into a new function gen_buffer_time(),
which generates the client buffer time message and sends it to the
server.
Signed-off-by: Martin Storsjö <martin@martin.st>
Samuel Pitoiset [Wed, 13 Jun 2012 12:47:26 +0000 (14:47 +0200)]
rtmp: Handle server bandwidth packets
Signed-off-by: Martin Storsjö <martin@martin.st>
Samuel Pitoiset [Wed, 13 Jun 2012 12:45:57 +0000 (14:45 +0200)]
rtmp: Display a verbose message when an unknown packet type is received
Signed-off-by: Martin Storsjö <martin@martin.st>
Anton Khirnov [Wed, 13 Jun 2012 08:52:35 +0000 (10:52 +0200)]
lavfi/audio: use av_samples_copy() instead of custom code.
Fixes a possible invalid write, found by Nicolas George.
Anton Khirnov [Wed, 13 Jun 2012 08:17:28 +0000 (10:17 +0200)]
configure: add all filters hardcoded into avconv to avconv_deps
Anton Khirnov [Wed, 13 Jun 2012 08:12:08 +0000 (10:12 +0200)]
avfiltergraph: remove a redundant call to avfilter_get_by_name().
Anton Khirnov [Wed, 13 Jun 2012 08:10:31 +0000 (10:10 +0200)]
lavfi: allow building without swscale.
Michael Niedermayer [Wed, 13 Jun 2012 11:43:42 +0000 (13:43 +0200)]
swr: fix 10l use of uninitialized data
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diego Biurrun [Wed, 13 Jun 2012 10:17:06 +0000 (12:17 +0200)]
build: Do not delete tests/vsynth2 directory, which is no longer created.
James Zern [Wed, 13 Jun 2012 04:39:25 +0000 (21:39 -0700)]
doc/encoders: update libvpxenc mappings
max-intra-rate / force_key_frames, forgotten in
695e85f,
cb7f062.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Wed, 13 Jun 2012 00:54:57 +0000 (02:54 +0200)]
lavc: fix support of unofficial pix_fmt extensions of jpeg
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Anton Khirnov [Tue, 12 Jun 2012 19:25:10 +0000 (21:25 +0200)]
lavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs
This is more consistent with naming in the rest of Libav.
Anton Khirnov [Tue, 12 Jun 2012 18:12:42 +0000 (20:12 +0200)]
lavfi: make AVFilterPad opaque after two major bumps.
It will allow adding new fields to it without ABI breaks.
Anton Khirnov [Tue, 12 Jun 2012 17:57:57 +0000 (19:57 +0200)]
lavfi: add avfilter_pad_get_type() and avfilter_pad_get_name().
This will allow making AVFilterPad opaque for the calling apps, since
those are the only two fields that can be useful to the users.
Anton Khirnov [Wed, 30 May 2012 08:31:48 +0000 (10:31 +0200)]
lavfi: make avfilter_get_video_buffer() private on next bump.
They are only useful inside filters and we don't allow user filters for
now.
Sean McGovern [Mon, 11 Jun 2012 22:22:31 +0000 (18:22 -0400)]
jack: update to new latency range API as the old one has been deprecated
Fixes Bugzilla #279.
Signed-off-by: Diego Biurrun <diego@biurrun.de>
Stefano Sabatini [Sun, 10 Jun 2012 15:42:47 +0000 (17:42 +0200)]
lavfi: move definition of avfilter_copy_buf_props() from buffer.c to avcodec.c
avcodec.c is where it is defined the lavc/lavfi interface code, so seems
a more adequate location (and doesn't force the inclusion of
libavcodec/avcodec.h where it is not required).
Stefano Sabatini [Tue, 5 Jun 2012 09:24:07 +0000 (11:24 +0200)]
lavfi: change name of tracing functions and of the macro which enables them
The enabling symbol is renamed FF_AVFILTER_TRACE. Avoid conflicts with
the DEBUG macro, which may be defined for different purposes.
Martin Storsjö [Wed, 13 Jun 2012 07:51:22 +0000 (10:51 +0300)]
rtmp: Tokenize the AMF connection parameters manually instead of using strtok_r
This fixes builds on platforms without strtok_r (windows).
Signed-off-by: Martin Storsjö <martin@martin.st>
Paul B Mahol [Tue, 12 Jun 2012 21:37:58 +0000 (21:37 +0000)]
libvorbis: split encoder from decoder
Also fix build dependencies while here.
Reviewed-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Diego Biurrun [Sun, 3 Jun 2012 15:20:30 +0000 (17:20 +0200)]
ppc: Rename H.264 optimization template file for consistency.
Michael Niedermayer [Tue, 12 Jun 2012 21:04:16 +0000 (23:04 +0200)]
arm/intmath: disable av_clip_uintp2_arm with config_small
The code otherwise breaks compilation (gcc 4.5 tested but probably any compiler)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Paul B Mahol [Tue, 12 Jun 2012 20:41:18 +0000 (20:41 +0000)]
cosmetics: align more codecs declarations
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Anton Khirnov [Wed, 30 May 2012 11:59:30 +0000 (13:59 +0200)]
lavfi: add channelsplit audio filter.
Justin Ruggles [Mon, 11 Jun 2012 14:29:57 +0000 (10:29 -0400)]
golomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()
Fixes infinite loop in FLAC decoding in case of a truncated bitstream due to
the safe bitstream reader returning 0's at the end.
Fixes Bug 310.
CC:libav-stable@libav.org
Ronald S. Bultje [Sat, 12 May 2012 14:21:32 +0000 (07:21 -0700)]
sws: fix planar RGB input conversions for 9/10/16 bpp.
Fixes bug 282.
Signed-off-by: Anton Khirnov <anton@khirnov.net>
Alex Converse [Fri, 8 Jun 2012 19:02:04 +0000 (12:02 -0700)]
avfilter: Log an error if avfilter fails to configure a link.
Anton Khirnov [Mon, 11 Jun 2012 13:34:12 +0000 (15:34 +0200)]
avconv: support only native pthreads.
Our w32pthreads wrapper has various issues and is only supposed to be
used in libavcodec.
Samuel Pitoiset [Mon, 11 Jun 2012 12:21:32 +0000 (14:21 +0200)]
rtmp: Fix a possible access to invalid memory location when the playpath is too short.
Signed-off-by: Martin Storsjö <martin@martin.st>
Paul B Mahol [Tue, 12 Jun 2012 03:19:08 +0000 (03:19 +0000)]
libvorbis: cosmetics: remove empty line at EOF
Signed-off-by: Paul B Mahol <onemda@gmail.com>
Michael Niedermayer [Tue, 12 Jun 2012 18:44:57 +0000 (20:44 +0200)]
Merge remote-tracking branch 'qatar/master'
* qatar/master:
avfilter: Log an error if avfilter fails to configure a link.
avconv: support only native pthreads.
rtmp: Fix a possible access to invalid memory location when the playpath is too short.
Conflicts:
ffmpeg.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 12 Jun 2012 17:28:08 +0000 (19:28 +0200)]
lavf: add a "warning" when discarding a oddly backward subtitle or data starttime
Idea-by: ohsix
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 12 Jun 2012 17:07:25 +0000 (19:07 +0200)]
lavf: handle data like subtitles in start time calculation.
This fixes an issue with a crazy data track starting with a large
negative timestamp.
It could as well be solved in all user apps, but this is looking
attractively simpler ...
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 12 Jun 2012 15:47:19 +0000 (17:47 +0200)]
swr: mix_2_1_int16_mmx/sse
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Michael Niedermayer [Tue, 12 Jun 2012 14:43:19 +0000 (16:43 +0200)]
swr: mix_1_1_int16_sse
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>