ffmpeg.git
9 years agoaudioconvert: prefer 5.X over 5.X(side).
Nicolas George [Sun, 6 Nov 2011 16:05:08 +0000 (17:05 +0100)]
audioconvert: prefer 5.X over 5.X(side).
This is the logical consequence of commit ab539d9e:
5.X(back) is more common than 5.X(side).

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodshow: support BI_BITFIELDS compression type
Ramiro Polla [Sat, 8 Oct 2011 18:00:00 +0000 (15:00 -0300)]
dshow: support BI_BITFIELDS compression type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswscale: use isByteRGB() to simplify check for palToRgbWrapper.
Michael Niedermayer [Sun, 6 Nov 2011 12:30:10 +0000 (13:30 +0100)]
swscale: use isByteRGB() to simplify check for palToRgbWrapper.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoswscale: Fix packed rgb check for planarRgbToRgbWrapper.
Michael Niedermayer [Sun, 6 Nov 2011 12:26:50 +0000 (13:26 +0100)]
swscale: Fix packed rgb check for planarRgbToRgbWrapper.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoUnscaled Planar RGB -> RGB support in swscale.
Themaister [Sun, 6 Nov 2011 09:43:47 +0000 (10:43 +0100)]
Unscaled Planar RGB -> RGB support in swscale.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoaf_aconvert: fix doc reference to unexisting chlayout.h file
Stefano Sabatini [Sun, 6 Nov 2011 10:46:57 +0000 (11:46 +0100)]
af_aconvert: fix doc reference to unexisting chlayout.h file

9 years agoFix av_packet_split_side_data.
Reimar Döffinger [Sun, 6 Nov 2011 00:33:31 +0000 (01:33 +0100)]
Fix av_packet_split_side_data.

p cannot be calculated before av_dup_packet since that one
might change avpkt->data, causing invalid reads and a
non-working range check.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agofate: fix mapchan
Michael Niedermayer [Sun, 6 Nov 2011 01:55:31 +0000 (02:55 +0100)]
fate: fix mapchan

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agowtvenc: ensure fat tables are padded to the sector boundary
Peter Ross [Sun, 6 Nov 2011 01:14:31 +0000 (12:14 +1100)]
wtvenc: ensure fat tables are padded to the sector boundary

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolavf: remove commented check in compute_pkt_fields2()
Stefano Sabatini [Sun, 6 Nov 2011 01:16:41 +0000 (02:16 +0100)]
lavf: remove commented check in compute_pkt_fields2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 6 Nov 2011 01:18:50 +0000 (02:18 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  http: Remove the custom function for disabling chunked posts
  rtsp: Disable chunked http post through AVOptions
  movdec: Set frame_size for AMR
  h264_weight: remove duplication functions.
  swscale: align vertical filtersize by 2 on x86.
  libavfilter: reindent.
  matroskadec: empty blocks are in fact valid.
  avfilter: don't abort() on zero-size allocations.
  h264: improve calculation of codec delay.
  movenc: Set a correct packet size for AMR-NB mode 15, "no data"
  avformat: Add functions for doing global network initialization
  avformat: Add the https protocol
  avformat: Add the tls protocol, using OpenSSL or gnutls
  avformat: Initialize gnutls in ff_tls_init()
  w32threads: Wrap the mutex functions in inline functions returning int
  configure: Allow linking to the gnutls library
  avformat: Add ff_tls_init()/deinit() that initialize OpenSSL
  configure: Allow linking to openssl
  avcodec: Allow locking and unlocking an avformat specific mutex
  avformat: Split out functions from network.h to a new file, network.c

Conflicts:
Changelog
configure
doc/APIchanges
libavcodec/internal.h
libavcodec/version.h
libavfilter/formats.c
libavformat/matroskadec.c
libavformat/mov.c
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agowtvdec: ignore another known guid
Peter Ross [Sun, 6 Nov 2011 00:21:02 +0000 (11:21 +1100)]
wtvdec: ignore another known guid

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoSet avctx->coded_width/height to uncropped h264 sizes
Joakim Plate [Sat, 5 Nov 2011 23:59:37 +0000 (00:59 +0100)]
Set avctx->coded_width/height to uncropped h264 sizes

avctx->width/height remain right/bottom cropped as previous behaviour.

Hardware decoders need to know the uncropped data to allocate surfaces
of correct height. Some hardware is picky and fails to decoder properly
if a surface larger than needed is used during decode, so just aligning
up is not enough.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoaudioconvert: use + in av_get_channel_layout_string.
Nicolas George [Sat, 5 Nov 2011 20:21:50 +0000 (21:21 +0100)]
audioconvert: use + in av_get_channel_layout_string.

When constructing a channel layout string from individual channel names,
+ is a more practical separator than |, because it is usually not a shell
special character.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodshow: don't print min/max values for fps the wrong way around
Ramiro Polla [Fri, 30 Sep 2011 21:10:30 +0000 (18:10 -0300)]
dshow: don't print min/max values for fps the wrong way around

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodshow: save opened device reference so it may be properly closed
Ramiro Polla [Fri, 30 Sep 2011 20:50:00 +0000 (17:50 -0300)]
dshow: save opened device reference so it may be properly closed

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodshow: release filter reference obtained from enumeration
Ramiro Polla [Fri, 30 Sep 2011 20:49:43 +0000 (17:49 -0300)]
dshow: release filter reference obtained from enumeration

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodshow: indent
Ramiro Polla [Fri, 30 Sep 2011 20:49:22 +0000 (17:49 -0300)]
dshow: indent

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodshow: support choosing between devices with same name
Ramiro Polla [Fri, 30 Sep 2011 20:49:09 +0000 (17:49 -0300)]
dshow: support choosing between devices with same name

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agosrc_movie: set the channel layout to default if the codec did not set it.
Nicolas George [Sat, 5 Nov 2011 20:21:47 +0000 (21:21 +0100)]
src_movie: set the channel layout to default if the codec did not set it.

Signed-off-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agomatroskaenc: base default duration on avg_frame_rate if possible.
Michael Niedermayer [Sat, 5 Nov 2011 22:43:29 +0000 (23:43 +0100)]
matroskaenc: base default duration on avg_frame_rate if possible.
Fixed Ticket432

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffmpeg: preserve avg_frame_rate on stream copy.
Michael Niedermayer [Sat, 5 Nov 2011 22:43:01 +0000 (23:43 +0100)]
ffmpeg: preserve avg_frame_rate on stream copy.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agolibvpxenc: Fix "Additional information: g_lag_in_frames out of range [..25]"
Michael Niedermayer [Sat, 5 Nov 2011 22:21:31 +0000 (23:21 +0100)]
libvpxenc: Fix "Additional information: g_lag_in_frames out of range [..25]"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMark AVFilterPad[] compound literals as const.
Reimar Döffinger [Sat, 5 Nov 2011 13:39:24 +0000 (14:39 +0100)]
Mark AVFilterPad[] compound literals as const.

GCC 4.6.2 at least still seems to fail to put them in .rodata though,
see also http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37303

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoSet AVFrame reference before reget_buffer.
Reimar Döffinger [Sat, 5 Nov 2011 22:27:00 +0000 (23:27 +0100)]
Set AVFrame reference before reget_buffer.

Otherwise it might return a write-only frame which would break
decoding completely.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agonuv: do not use data not initialized by LZO decompression.
Reimar Döffinger [Sat, 5 Nov 2011 22:51:05 +0000 (23:51 +0100)]
nuv: do not use data not initialized by LZO decompression.

This fixes visible corruption in the incomplete last frame
of the FATE sample.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agonuv: Fix combination of size changes and LZO compression.
Reimar Döffinger [Sat, 5 Nov 2011 21:34:09 +0000 (22:34 +0100)]
nuv: Fix combination of size changes and LZO compression.

There were multiple issues, for example might we have to re-run
the decompression when the size of the buffer increased,
we should always use a decompression buffer large enough for
the header (so we do not get stuck when the size is too small).

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoCheck NUV per-frame header for validity.
Reimar Döffinger [Sat, 5 Nov 2011 22:13:07 +0000 (23:13 +0100)]
Check NUV per-frame header for validity.

Since it contains dimensions parsing an invalid one has rather
annoying effects.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agortjpeg: check get_block return value for error.
Reimar Döffinger [Sat, 5 Nov 2011 21:26:42 +0000 (22:26 +0100)]
rtjpeg: check get_block return value for error.

This avoids crashes due to reading out-of-bounds.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoSimplify using get_bits_left.
Reimar Döffinger [Sat, 5 Nov 2011 21:07:22 +0000 (22:07 +0100)]
Simplify using get_bits_left.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoav_lzo1x_decode: properly handle negative buffer length.
Reimar Döffinger [Sat, 5 Nov 2011 20:45:31 +0000 (21:45 +0100)]
av_lzo1x_decode: properly handle negative buffer length.

Treating them like 0 is safest, current code would invoke
undefined pointer arithmetic behaviour in this case.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoUse FFALIGN.
Reimar Döffinger [Sat, 5 Nov 2011 20:11:37 +0000 (21:11 +0100)]
Use FFALIGN.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoTry to set AVFrame.reference to correct values.
Reimar Döffinger [Sat, 5 Nov 2011 18:48:39 +0000 (19:48 +0100)]
Try to set AVFrame.reference to correct values.

I am not sure these new values are correct, not am I sure
the semantics are a good idea since we do not seem to make any
use of them but they caused a lot of confusion, but this
seems to make things closer to matching the documentation.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoh264: fix ssse3 biweight code with weights of 128
Michael Niedermayer [Sat, 5 Nov 2011 20:37:44 +0000 (21:37 +0100)]
h264: fix ssse3 biweight code with weights of 128

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Sat, 5 Nov 2011 17:56:56 +0000 (18:56 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: Avoid useage of deprecated url_fileno().

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agowtvenc: use ff_put_guid and remove local copy of this function
Peter Ross [Sat, 5 Nov 2011 05:09:47 +0000 (16:09 +1100)]
wtvenc: use ff_put_guid and remove local copy of this function

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoasfenc: rename put_guid to ff_put_guid
Peter Ross [Sat, 5 Nov 2011 05:09:34 +0000 (16:09 +1100)]
asfenc: rename put_guid to ff_put_guid

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agowtvenc: add @file comment
Peter Ross [Sat, 5 Nov 2011 05:09:17 +0000 (16:09 +1100)]
wtvenc: add @file comment

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agofix whitespace nits
Peter Ross [Sat, 5 Nov 2011 05:09:10 +0000 (16:09 +1100)]
fix whitespace nits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agohttp: Remove the custom function for disabling chunked posts
Martin Storsjö [Sun, 20 Jun 2010 20:59:15 +0000 (23:59 +0300)]
http: Remove the custom function for disabling chunked posts

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agortsp: Disable chunked http post through AVOptions
Martin Storsjö [Sun, 20 Jun 2010 20:58:22 +0000 (23:58 +0300)]
rtsp: Disable chunked http post through AVOptions

This avoids having to use a private function.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoMake ff_mba_* arrays const.
Reimar Döffinger [Sat, 5 Nov 2011 14:29:27 +0000 (15:29 +0100)]
Make ff_mba_* arrays const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoMake another static array const.
Reimar Döffinger [Sat, 5 Nov 2011 14:27:13 +0000 (15:27 +0100)]
Make another static array const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoMake fdct_r_row_sse2 const.
Reimar Döffinger [Sat, 5 Nov 2011 14:26:21 +0000 (15:26 +0100)]
Make fdct_r_row_sse2 const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoMake AMR tables of lookup filter tables const.
Reimar Döffinger [Sat, 5 Nov 2011 14:25:00 +0000 (15:25 +0100)]
Make AMR tables of lookup filter tables const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoMake another PixelFormat list const.
Reimar Döffinger [Sat, 5 Nov 2011 14:22:45 +0000 (15:22 +0100)]
Make another PixelFormat list const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoMake sdl_overlay_pix_fmt_map static const.
Reimar Döffinger [Sat, 5 Nov 2011 14:21:42 +0000 (15:21 +0100)]
Make sdl_overlay_pix_fmt_map static const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoMake PIX_FMT format list arrays const.
Reimar Döffinger [Sat, 5 Nov 2011 14:20:18 +0000 (15:20 +0100)]
Make PIX_FMT format list arrays const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoMake rgb_pixfmt_map const.
Reimar Döffinger [Sat, 5 Nov 2011 14:16:15 +0000 (15:16 +0100)]
Make rgb_pixfmt_map const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoMake tab_frw_01234567_sse2 const.
Reimar Döffinger [Sat, 5 Nov 2011 14:14:54 +0000 (15:14 +0100)]
Make tab_frw_01234567_sse2 const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agocolor_table array should be const.
Reimar Döffinger [Sat, 5 Nov 2011 14:10:23 +0000 (15:10 +0100)]
color_table array should be const.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoAdd const to static arrays where it was forgotten.
Reimar Döffinger [Sat, 5 Nov 2011 13:49:52 +0000 (14:49 +0100)]
Add const to static arrays where it was forgotten.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agodoc: fix typo in previous commit.
Clément Bœsch [Sat, 5 Nov 2011 14:30:46 +0000 (15:30 +0100)]
doc: fix typo in previous commit.

9 years agomovdec: Set frame_size for AMR
Carl Eugen Hoyos [Thu, 3 Nov 2011 19:20:58 +0000 (20:20 +0100)]
movdec: Set frame_size for AMR

Earlier, sc->samples_per_frame was used for setting the frame size,
but all files don't have that set properly. The frame size is a
known constant for these codecs.

If frame_size isn't set, the mov/3gp muxer refuses to mux it.

This fixes stream copy of audio from
https://roundup.libav.org/file1248/Video_With_AMR-NB_Audio.3gp
to another 3gp file (roundup issue 2468).

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agodoc: document v4l and v4l2 aliases.
Clément Bœsch [Sat, 5 Nov 2011 14:30:10 +0000 (15:30 +0100)]
doc: document v4l and v4l2 aliases.

9 years agodoc: fix a few typo in the filters section.
Clément Bœsch [Sat, 5 Nov 2011 14:19:23 +0000 (15:19 +0100)]
doc: fix a few typo in the filters section.

9 years agov4l2: add libv4l2 support.
Clément Bœsch [Sun, 30 Oct 2011 02:21:55 +0000 (03:21 +0100)]
v4l2: add libv4l2 support.

9 years agoh264_weight: remove duplication functions.
Ronald S. Bultje [Sun, 30 Oct 2011 17:25:25 +0000 (10:25 -0700)]
h264_weight: remove duplication functions.

9 years agoffprobe: use avio_size() instead of deprecated file_size attribute.
Clément Bœsch [Sat, 5 Nov 2011 12:16:32 +0000 (13:16 +0100)]
ffprobe: use avio_size() instead of deprecated file_size attribute.

9 years agoffprobe: fix const compiler warning.
Clément Bœsch [Sat, 5 Nov 2011 12:14:43 +0000 (13:14 +0100)]
ffprobe: fix const compiler warning.

9 years agoReplace remaining av_new_stream() with avformat_new_stream().
Clément Bœsch [Sat, 5 Nov 2011 12:11:18 +0000 (13:11 +0100)]
Replace remaining av_new_stream() with avformat_new_stream().

9 years agoswscale: align vertical filtersize by 2 on x86.
Ronald S. Bultje [Fri, 4 Nov 2011 19:19:29 +0000 (12:19 -0700)]
swscale: align vertical filtersize by 2 on x86.

The vertical scaler handles 2 rows at a time and thus requires
alignment by 2, or else it'll read invalid memory and result in
corrupt output.

9 years agolibavfilter: reindent.
Ronald S. Bultje [Sat, 5 Nov 2011 14:01:39 +0000 (07:01 -0700)]
libavfilter: reindent.

9 years agomatroskadec: empty blocks are in fact valid.
Ronald S. Bultje [Sat, 29 Oct 2011 23:17:51 +0000 (16:17 -0700)]
matroskadec: empty blocks are in fact valid.

9 years agoavfilter: don't abort() on zero-size allocations.
Ronald S. Bultje [Sat, 29 Oct 2011 23:17:27 +0000 (16:17 -0700)]
avfilter: don't abort() on zero-size allocations.

9 years agoh264: improve calculation of codec delay.
Ronald S. Bultje [Sat, 29 Oct 2011 20:44:50 +0000 (13:44 -0700)]
h264: improve calculation of codec delay.

Fixes the following conformance suite samples:
HCBP1_HHI_A.264, HCBP2_HHI_A.264, HCMP1_HHI_A.264 (main)
HCHP1_HHI_B.264, HCHP2_HHI_A.264, HCHP3_HHI_A.264 (frext)

9 years agoj2kdec: fix a bunch of const compiler warnings.
Clément Bœsch [Sat, 5 Nov 2011 11:56:39 +0000 (12:56 +0100)]
j2kdec: fix a bunch of const compiler warnings.

9 years agoAPIChanges: fill missing dates and hashes.
Clément Bœsch [Sat, 5 Nov 2011 11:31:25 +0000 (12:31 +0100)]
APIChanges: fill missing dates and hashes.

9 years agomovenc: Set a correct packet size for AMR-NB mode 15, "no data"
Carl Eugen Hoyos [Wed, 19 Oct 2011 09:20:48 +0000 (11:20 +0200)]
movenc: Set a correct packet size for AMR-NB mode 15, "no data"

These packets are valid packets, and consist of 1 byte (which
contains the mode bits).

This had been analyzed and reported by Igor Levin, igor d levin comverse com.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoFix typo in warning message.
Reimar Döffinger [Sat, 5 Nov 2011 10:30:16 +0000 (11:30 +0100)]
Fix typo in warning message.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoPut strings inside struct instead of extra indirection.
Reimar Döffinger [Fri, 4 Nov 2011 16:05:17 +0000 (17:05 +0100)]
Put strings inside struct instead of extra indirection.

Saves a bit on space and relocations.
Also makes the (very hackish) lossless conversion check
in ffmpeg.c work reliably.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
9 years agoavformat: Add functions for doing global network initialization
Martin Storsjö [Tue, 1 Nov 2011 11:40:04 +0000 (13:40 +0200)]
avformat: Add functions for doing global network initialization

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoavformat: Add the https protocol
Martin Storsjö [Sat, 5 Feb 2011 22:20:26 +0000 (00:20 +0200)]
avformat: Add the https protocol

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoavformat: Add the tls protocol, using OpenSSL or gnutls
Martin Storsjö [Sat, 5 Feb 2011 22:19:49 +0000 (00:19 +0200)]
avformat: Add the tls protocol, using OpenSSL or gnutls

Note, this protocol doesn't yet check verify the server
certificate against a local database of trusted CA root
certificates.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoavformat: Initialize gnutls in ff_tls_init()
Martin Storsjö [Sat, 5 Feb 2011 23:06:49 +0000 (00:06 +0100)]
avformat: Initialize gnutls in ff_tls_init()

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agow32threads: Wrap the mutex functions in inline functions returning int
Martin Storsjö [Tue, 1 Nov 2011 13:23:03 +0000 (15:23 +0200)]
w32threads: Wrap the mutex functions in inline functions returning int

This allows using these wrappers in the gcrypt mutex callbacks.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoconfigure: Allow linking to the gnutls library
Martin Storsjö [Sat, 5 Feb 2011 22:39:20 +0000 (23:39 +0100)]
configure: Allow linking to the gnutls library

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoavformat: Add ff_tls_init()/deinit() that initialize OpenSSL
Martin Storsjö [Fri, 4 Feb 2011 22:25:07 +0000 (00:25 +0200)]
avformat: Add ff_tls_init()/deinit() that initialize OpenSSL

If the application hasn't set up mutex callbacks, we set up
our own using pthreads (or w32pthreads).

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoconfigure: Allow linking to openssl
Martin Storsjö [Wed, 2 Feb 2011 22:37:20 +0000 (00:37 +0200)]
configure: Allow linking to openssl

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoavcodec: Allow locking and unlocking an avformat specific mutex
Martin Storsjö [Sat, 29 Oct 2011 22:20:15 +0000 (01:20 +0300)]
avcodec: Allow locking and unlocking an avformat specific mutex

This extends the lock manager in avcodec to manage two separate
mutexes via the user-specified lock functions.

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoavformat: Split out functions from network.h to a new file, network.c
Martin Storsjö [Mon, 7 Feb 2011 10:59:50 +0000 (12:59 +0200)]
avformat: Split out functions from network.h to a new file, network.c

Signed-off-by: Martin Storsjö <martin@martin.st>
9 years agoexamples/filtering: remove #include vsink_buffer.h, the header does not exist
Michael Niedermayer [Sat, 5 Nov 2011 04:34:17 +0000 (05:34 +0100)]
examples/filtering: remove #include vsink_buffer.h, the header does not exist

Found-by: teratorn
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoaf_volume: exp10() is a GNU extension.
Michael Niedermayer [Sat, 5 Nov 2011 04:31:03 +0000 (05:31 +0100)]
af_volume: exp10() is a GNU extension.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoaf_earwax: copy input buffer properties to output
Stefano Sabatini [Sat, 5 Nov 2011 01:44:02 +0000 (02:44 +0100)]
af_earwax: copy input buffer properties to output

In particular, fix timestamps, partially address trac ticket #375.

9 years agolavfi: add earwax audio filter, ported from Sox
Mina Nagy Zaki [Sat, 26 Mar 2011 20:02:50 +0000 (21:02 +0100)]
lavfi: add earwax audio filter, ported from Sox

Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
9 years agolavfi: add volume filter
Stefano Sabatini [Tue, 1 Nov 2011 20:42:14 +0000 (21:42 +0100)]
lavfi: add volume filter

9 years agolavfi: increase number of maximum registered filters from 64 to 128
Stefano Sabatini [Wed, 2 Nov 2011 21:10:32 +0000 (22:10 +0100)]
lavfi: increase number of maximum registered filters from 64 to 128

9 years agolavfi: issue error if maximum number of filters is reached
Stefano Sabatini [Wed, 2 Nov 2011 21:08:28 +0000 (22:08 +0100)]
lavfi: issue error if maximum number of filters is reached

Issue an error and return a more meaningful error code in case the
maximum number of registered filters has been reached.
This is better than silently ignore the error, improve feedback.

9 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 5 Nov 2011 00:46:14 +0000 (01:46 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  binkaudio: expand quant_table to accommodate all possible values
  libx264: Set the default of the rc_lookahead option to -1
  avcodec: Set flags2 default value depending on availability
  configure: declare dependency of h264_vaapi_hwaccel on h264_decoder

Conflicts:
configure
libavcodec/options.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffplay: Avoid useage of deprecated url_fileno().
Michael Niedermayer [Fri, 4 Nov 2011 16:55:56 +0000 (17:55 +0100)]
ffplay: Avoid useage of deprecated url_fileno().

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Marton Balint <cus@passwd.hu>
9 years agodwt: Code make up, removed gotos
Jordi Ortiz [Fri, 4 Nov 2011 12:23:53 +0000 (13:23 +0100)]
dwt: Code make up, removed gotos
(cherry picked from commit 14880406e1277cef91d9b22a4d9b3bf91f8ea4ca)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoDirac: Added endif comments
Jordi Ortiz [Fri, 4 Nov 2011 12:23:31 +0000 (13:23 +0100)]
Dirac: Added endif comments
(cherry picked from commit c023d4db3688cd4f0fa47c472b33eb343b0d6db1)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoDirac: Specific struct initializers in AVCodec initialization
Jordi Ortiz [Thu, 3 Nov 2011 18:21:32 +0000 (19:21 +0100)]
Dirac: Specific struct initializers in AVCodec initialization

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoDirac: Removed goto + some code make up
Jordi Ortiz [Thu, 3 Nov 2011 18:15:08 +0000 (19:15 +0100)]
Dirac: Removed goto + some code make up
(cherry picked from commit 8db434f8a6d210f7fd2f28ba325927d7a5dd04b9)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agodwt: removed some warnings in make checkheaders
Jordi Ortiz [Thu, 3 Nov 2011 16:32:52 +0000 (17:32 +0100)]
dwt: removed some warnings in make checkheaders
(cherry picked from commit 1124056ac054842f36866b4dabb9f8aae0ad06b6)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoDirac: Solved problem with make checkheaders
Jordi Ortiz [Thu, 3 Nov 2011 16:32:10 +0000 (17:32 +0100)]
Dirac: Solved problem with make checkheaders
(cherry picked from commit d611ea0a44f3e4f67fef7ba916da5a25adef58da)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoconfigure: fixes vda compilation issue.
Sebastien Zwickert [Fri, 4 Nov 2011 19:34:52 +0000 (20:34 +0100)]
configure: fixes vda compilation issue.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffmpeg: add -map_channel option.
Clément Bœsch [Fri, 4 Nov 2011 17:54:01 +0000 (18:54 +0100)]
ffmpeg: add -map_channel option.

Based on an initial work by Baptiste Coudurier.

9 years agoFix libutvideo wrapper name
Derek Buitenhuis [Fri, 4 Nov 2011 17:01:19 +0000 (13:01 -0400)]
Fix libutvideo wrapper name

Change the libutvideo wrapper name to "libutvideo", as
it currently conflicts with the native utvideo decoder's
name of "utvideo".

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
9 years agoffprobe: Print format specific variables of codecs.
Michael Niedermayer [Thu, 3 Nov 2011 14:26:42 +0000 (15:26 +0100)]
ffprobe: Print format specific variables of codecs.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>