]> git.sesse.net Git - ffmpeg/log
ffmpeg
12 years agovf_pad: check that we have write permission before writing in the buffer.
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>
12 years agolavfi: add asetnsamples audio filter
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>.

12 years agolavfi/split: give a more accurate description to split
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.

12 years agoffprobe: add writer_print_rational()
Stefano Sabatini [Wed, 13 Jun 2012 12:33:32 +0000 (14:33 +0200)]
ffprobe: add writer_print_rational()

Improve overall consistency, allow some factorization.

12 years agodoc/filters: prefer @itemize environment for frei0r examples
Stefano Sabatini [Thu, 14 Jun 2012 23:47:47 +0000 (01:47 +0200)]
doc/filters: prefer @itemize environment for frei0r examples

12 years agodoc/filters: update Frei0r website link
Stefano Sabatini [Thu, 14 Jun 2012 23:40:45 +0000 (01:40 +0200)]
doc/filters: update Frei0r website link

Frei0r recently changed website host.

12 years agolavfi/super2xsai: simplify code updating the color matrix at each y iteration
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.

12 years agolavfi/super2xsai: fix table used to update color matrix at the end of each y loop
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.

12 years agofate/lavfi: add lavfi-pixfmts_super2xsai test
Stefano Sabatini [Thu, 14 Jun 2012 22:33:33 +0000 (00:33 +0200)]
fate/lavfi: add lavfi-pixfmts_super2xsai test

12 years agolavfi/video: set output frame w/h properties in default_start_frame()
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.

12 years agolavfi/avcodec: add consistency checks in avfilter_copy_buf_props()
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).

12 years agolavc/rawdec: fix various bogus error codes and add some logs
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.

12 years agolavc/utils: in avcodec_decode_video2() return proper error code instead of -1
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.

12 years agoMerge remote-tracking branch 'qatar/master'
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>
12 years agoaf_resample: fix format modifier in debug string for FF_API_SAMPLERATE64
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

12 years agosegment: remove unnecessary <strings.h> include
Janne Grunau [Thu, 14 Jun 2012 16:41:47 +0000 (18:41 +0200)]
segment: remove unnecessary <strings.h> include

12 years agofate: add snow hpel tests
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>
12 years agoj2kdec: move s->avctx initialization to j2kdec_init()
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>
12 years agoj2kdec: check colorspace ncomponents
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>
12 years agonutenc: use av_assert
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>
12 years agoamr: use av_assert()
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>
12 years agolavf/aviobuf: use av_assert()
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>
12 years agolavf: cosmetic: format else with indentation
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>
12 years agolavc/microdvddec: fix color parsing.
Clément Bœsch [Fri, 15 Jun 2012 16:42:10 +0000 (18:42 +0200)]
lavc/microdvddec: fix color parsing.

12 years agolavc/microdvddec: properly reset non persistent color tag.
Clément Bœsch [Fri, 15 Jun 2012 16:41:14 +0000 (18:41 +0200)]
lavc/microdvddec: properly reset non persistent color tag.

12 years agolavf/{srt,microdvd}: correctly raise error on avformat_new_stream() error.
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.

12 years agofile: Fix handling of windows named pipes
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>
12 years agoavio: Collect and print statistics of bytes read & seeks
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>
12 years agolavfi: af_amerge options array was not ended with NULL
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>
12 years agorevert "extern inline" usage
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>
12 years agonew attribute "extern inline" (fixing linker error with ff_get_mb_score and ff_get_mb...
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>
12 years agoconfigure: do not auto enable mlp decoder when enabling truehd decoder
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>
12 years agoRemove duplicated png and mng signatures.
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>
12 years agomatroskadec: add assert on lack of overflow in pkt_size+offset
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>
12 years agomatroskadec: change size check in matroska_decode_buffer() to unsigned
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>
12 years agomatroskadec: move lace_size check up so it catches all code pathes
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>
12 years agomatroskadec: change assert to av_assert0()
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>
12 years agoFix incorrect unsigned->signed conversion.
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>
12 years agoMerge remote-tracking branch 'qatar/master'
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>
12 years agoriff: use av_assert
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>
12 years agorawdec: use av_assert()
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>
12 years agopcmdec: use av_assert()
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>
12 years agoAvoid C99 variable declarations within for statements.
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.

12 years agomjpegenc: support slice multithreading
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>
12 years agortmp: Read and handle incoming packets while writing data
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>
12 years agodoc: document THREAD_TYPE fate variable
Luca Barbato [Thu, 14 Jun 2012 18:27:31 +0000 (20:27 +0200)]
doc: document THREAD_TYPE fate variable

12 years agortpdec: Don't require frames to start with a Mode A packet
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>
12 years agopng_parser: use designated initializers
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>
12 years agoAdd truehd decoder line.
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>
12 years agoflashsv2enc: align codec declarations
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>
12 years agog729dec: align codec declarations
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>
12 years agomjpegdec: remove superfluous "mjpeg "
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>
12 years agobprint: implement vsnprintf for win32.
Nicolas George [Thu, 14 Jun 2012 11:54:00 +0000 (13:54 +0200)]
bprint: implement vsnprintf for win32.

12 years agoavconv: don't try to free threads that were not initialized.
Anton Khirnov [Wed, 13 Jun 2012 11:33:42 +0000 (13:33 +0200)]
avconv: don't try to free threads that were not initialized.

12 years agovqavideo: pass context to remaining av_(d)log
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>
12 years agoasfdec: fix returned error codes
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>
12 years agoconfigure: support Bitrig OS
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>
12 years agoconfigure: fix SLIBNAME_WITH_MAJOR for openbsd (and bitrig in the next commit)
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>
12 years agofate.texi: fix typo in title
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>
12 years agoMerge remote-tracking branch 'qatar/master'
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>
12 years agonutenc: use av_assert
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>
12 years agompegtsenc: use av_assert
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>
12 years agortmp: Add a new option 'rtmp_buffer', for setting the client buffer time
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>
12 years agortmp: Set the client buffer time to 3s instead of 0.26s
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>
12 years agortmp: Handle server bandwidth packets
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>
12 years agortmp: Display a verbose message when an unknown packet type is received
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>
12 years agolavfi/audio: use av_samples_copy() instead of custom code.
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.

12 years agoconfigure: add all filters hardcoded into avconv to avconv_deps
Anton Khirnov [Wed, 13 Jun 2012 08:17:28 +0000 (10:17 +0200)]
configure: add all filters hardcoded into avconv to avconv_deps

12 years agoavfiltergraph: remove a redundant call to avfilter_get_by_name().
Anton Khirnov [Wed, 13 Jun 2012 08:12:08 +0000 (10:12 +0200)]
avfiltergraph: remove a redundant call to avfilter_get_by_name().

12 years agolavfi: allow building without swscale.
Anton Khirnov [Wed, 13 Jun 2012 08:10:31 +0000 (10:10 +0200)]
lavfi: allow building without swscale.

12 years agoswr: fix 10l use of uninitialized data
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>
12 years agobuild: Do not delete tests/vsynth2 directory, which is no longer created.
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.

12 years agodoc/encoders: update libvpxenc mappings
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 695e85fcb7f062.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agolavc: fix support of unofficial pix_fmt extensions of jpeg
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>
12 years agolavfi: replace AVFilterContext.input/output_count with nb_inputs/outputs
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.

12 years agolavfi: make AVFilterPad opaque after two major bumps.
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.

12 years agolavfi: add avfilter_pad_get_type() and avfilter_pad_get_name().
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.

12 years agolavfi: make avfilter_get_video_buffer() private on next bump.
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.

12 years agojack: update to new latency range API as the old one has been deprecated
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>
12 years agolavfi: move definition of avfilter_copy_buf_props() from buffer.c to avcodec.c
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).

12 years agolavfi: change name of tracing functions and of the macro which enables them
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.

12 years agortmp: Tokenize the AMF connection parameters manually instead of using strtok_r
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>
12 years agolibvorbis: split encoder from decoder
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>
12 years agoppc: Rename H.264 optimization template file for consistency.
Diego Biurrun [Sun, 3 Jun 2012 15:20:30 +0000 (17:20 +0200)]
ppc: Rename H.264 optimization template file for consistency.

12 years agoarm/intmath: disable av_clip_uintp2_arm with config_small
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>
12 years agocosmetics: align more codecs declarations
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>
12 years agolavfi: add channelsplit audio filter.
Anton Khirnov [Wed, 30 May 2012 11:59:30 +0000 (13:59 +0200)]
lavfi: add channelsplit audio filter.

12 years agogolomb: check remaining bits during unary decoding in get_ur_golomb_jpegls()
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

12 years agosws: fix planar RGB input conversions for 9/10/16 bpp.
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>
12 years agoavfilter: Log an error if avfilter fails to configure a link.
Alex Converse [Fri, 8 Jun 2012 19:02:04 +0000 (12:02 -0700)]
avfilter: Log an error if avfilter fails to configure a link.

12 years agoavconv: support only native pthreads.
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.

12 years agortmp: Fix a possible access to invalid memory location when the playpath is too short.
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>
12 years agolibvorbis: cosmetics: remove empty line at EOF
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>
12 years agoMerge remote-tracking branch 'qatar/master'
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>
12 years agolavf: add a "warning" when discarding a oddly backward subtitle or data starttime
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>
12 years agolavf: handle data like subtitles in start time calculation.
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>
12 years agoswr: mix_2_1_int16_mmx/sse
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>
12 years agoswr: mix_1_1_int16_sse
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>
12 years agoswr: mix_1_1 int16 MMX
Michael Niedermayer [Tue, 12 Jun 2012 14:27:00 +0000 (16:27 +0200)]
swr: mix_1_1 int16 MMX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
12 years agoswr: mix_2_1_float SSE/AVX
Michael Niedermayer [Tue, 12 Jun 2012 14:24:49 +0000 (16:24 +0200)]
swr: mix_2_1_float SSE/AVX

Based-on code by Justin Ruggles
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>