ffmpeg.git
8 years agolavc: include os2threads.h in vp8.h if HAVE_OS2THREADS is enabled
KO Myung-Hun [Tue, 9 Oct 2012 10:29:32 +0000 (19:29 +0900)]
lavc: include os2threads.h in vp8.h if HAVE_OS2THREADS is enabled

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoCheck for resync marker based on vop coding type- vop_fcode_forward and vop_fcode_bac...
Anuj Mittal [Tue, 9 Oct 2012 13:25:14 +0000 (18:55 +0530)]
Check for resync marker based on vop coding type- vop_fcode_forward and vop_fcode_backward L

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoCheck resync marker only when enabled.
Anuj Mittal [Tue, 9 Oct 2012 12:52:26 +0000 (18:22 +0530)]
Check resync marker only when enabled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 9 Oct 2012 11:06:04 +0000 (13:06 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mingw/cygwin: Stop adding -fno-common to gcc CFLAGS
  Restructure av_log_missing_feature message
  rtp: Support packetization/depacketization of opus
  file: Set the return value type for lseek to int64_t.
  ppc: fix Altivec build with old compilers
  build: add LTO support for PGI compiler
  build: add -Mdse to PGI optimisation flags
  rtpenc_vp8: Update the packetizer to the latest spec version
  rtpdec_vp8: Make the depacketizer implement the latest spec draft
  doc: allow building with old texi2html versions
  avutil: skip old_pix_fmts.h since it is just a list

Conflicts:
libavcodec/aacdec.c
libavcodec/h264.c
libavcodec/ppc/fmtconvert_altivec.c
libavcodec/utils.c
libavformat/file.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomingw/cygwin: Stop adding -fno-common to gcc CFLAGS
Diego Biurrun [Fri, 5 Oct 2012 22:16:41 +0000 (00:16 +0200)]
mingw/cygwin: Stop adding -fno-common to gcc CFLAGS

This was done to work around toolchain bugs that have long been fixed.

8 years agoRestructure av_log_missing_feature message
Diego Biurrun [Mon, 8 Oct 2012 17:08:03 +0000 (19:08 +0200)]
Restructure av_log_missing_feature message

Some invocations include a verb in the log message, others do not.  Yet
av_log_missing_feature expects callers to provide a verb.  Change the
function to include a verb instead and update the callers accordingly.
The result is a more natural function API and correct English in the
function invocations.

8 years agoDTS-HD demuxer
Paul B Mahol [Fri, 5 Oct 2012 12:32:20 +0000 (12:32 +0000)]
DTS-HD demuxer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agortp: Support packetization/depacketization of opus
Martin Storsjö [Mon, 8 Oct 2012 21:51:42 +0000 (00:51 +0300)]
rtp: Support packetization/depacketization of opus

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agofate-lossless-tak: remove unneeded -f s16le
Paul B Mahol [Tue, 9 Oct 2012 08:48:36 +0000 (08:48 +0000)]
fate-lossless-tak: remove unneeded -f s16le

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agofile: Set the return value type for lseek to int64_t.
Yusuke Nakamura [Tue, 9 Oct 2012 07:00:28 +0000 (16:00 +0900)]
file: Set the return value type for lseek to int64_t.

This fixes a regression in 4ed5ac5.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoWrite 32bit palette to Targa files.
Carl Eugen Hoyos [Tue, 9 Oct 2012 08:13:14 +0000 (10:13 +0200)]
Write 32bit palette to Targa files.

Current ImageMagick fails to read such files,
therefore only write the 32bit palette if the
palette actually contains any transparency
information.

8 years agora144: fix code with ftrapv.
Michael Niedermayer [Tue, 9 Oct 2012 03:55:40 +0000 (05:55 +0200)]
ra144: fix code with ftrapv.

A better solution is welcome!

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoeval: Fix eval test with ftrapv
Michael Niedermayer [Tue, 9 Oct 2012 03:55:15 +0000 (05:55 +0200)]
eval: Fix eval test with ftrapv

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoconfigure: add support to nicely enable ftrapv
Michael Niedermayer [Tue, 9 Oct 2012 03:43:30 +0000 (05:43 +0200)]
configure: add support to nicely enable ftrapv

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agotarga: cosmetics - add some whitespace
Bobby Bingham [Mon, 8 Oct 2012 05:23:45 +0000 (00:23 -0500)]
targa: cosmetics - add some whitespace

Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
8 years agotarga: remove unused context members
Bobby Bingham [Mon, 8 Oct 2012 05:23:07 +0000 (00:23 -0500)]
targa: remove unused context members

Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
8 years agotarga: support 2-way and 4-way interleaved files
Bobby Bingham [Mon, 8 Oct 2012 05:37:26 +0000 (00:37 -0500)]
targa: support 2-way and 4-way interleaved files

Fixes ticket #701

Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
8 years agotarga: use named constants for flag values
Bobby Bingham [Mon, 8 Oct 2012 04:59:59 +0000 (23:59 -0500)]
targa: use named constants for flag values

Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
8 years agomotion_est: switch asserts to av_asserts
Michael Niedermayer [Tue, 9 Oct 2012 03:06:39 +0000 (05:06 +0200)]
motion_est: switch asserts to av_asserts

note, the asserts where enabled by default before this

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodsputil: convert asserts to av_asserts
Michael Niedermayer [Tue, 9 Oct 2012 02:07:30 +0000 (04:07 +0200)]
dsputil: convert asserts to av_asserts

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoadpcmenc: switch to av_assert()
Michael Niedermayer [Tue, 9 Oct 2012 02:00:55 +0000 (04:00 +0200)]
adpcmenc: switch to av_assert()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoSupport decoding of targa files with 32bit palette.
Carl Eugen Hoyos [Mon, 8 Oct 2012 23:58:48 +0000 (01:58 +0200)]
Support decoding of targa files with 32bit palette.

8 years agoppc: fix Altivec build with old compilers
Mans Rullgard [Mon, 8 Oct 2012 22:01:02 +0000 (23:01 +0100)]
ppc: fix Altivec build with old compilers

The vec_splat() intrinsic requires a constant argument for the
element number, and the code relies on the compiler unrolling
the loop to provide this.  Manually unrolling the loop avoids
this reliance and works with all compilers.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agomovenc.c: Force correct value for "Samples per packet" for pcm audio
Tim Nicholson [Fri, 5 Oct 2012 08:33:12 +0000 (09:33 +0100)]
movenc.c: Force correct value for "Samples per packet" for pcm audio

Apple spec is for it to always be "1" for uncompressed audio.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agobuild: add LTO support for PGI compiler
Mans Rullgard [Fri, 5 Oct 2012 02:42:12 +0000 (03:42 +0100)]
build: add LTO support for PGI compiler

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agobuild: add -Mdse to PGI optimisation flags
Mans Rullgard [Fri, 5 Oct 2012 00:30:28 +0000 (01:30 +0100)]
build: add -Mdse to PGI optimisation flags

Enable dead store elimination.  The last few releases work no worse
with this flag than without.  Older versions failed to build some
source files when using this flag.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agortpenc_vp8: Update the packetizer to the latest spec version
Martin Storsjö [Mon, 8 Oct 2012 20:18:38 +0000 (23:18 +0300)]
rtpenc_vp8: Update the packetizer to the latest spec version

Tested to work with the gstreamer depacketizer.

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agortpdec_vp8: Make the depacketizer implement the latest spec draft
Martin Storsjö [Mon, 8 Oct 2012 19:25:55 +0000 (22:25 +0300)]
rtpdec_vp8: Make the depacketizer implement the latest spec draft

Not all details are implemented, but it's enough for proper
playback as long as there is no packet loss.

Tested to work with the packetizer in gstreamer (which although
uses a different codec name, to clarify that it is still a spec
draft).

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 8 Oct 2012 19:36:14 +0000 (21:36 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  x86: vc1: call ff_vc1dsp_init_x86() under if (ARCH_X86)
  x86: cavs: call ff_cavsdsp_init_x86() under if (ARCH_X86)
  x86: call most of the x86 dsp init functions under if (ARCH_X86)
  doc: support the new website layout
  doc: remove a warning from filters.texi
  doc: initial nut documentation
  segment: drop global headers setting
  lavu: fix typo in Makefile

Conflicts:
doc/Makefile
doc/filters.texi
doc/t2h.init
libavcodec/fmtconvert.c
libavcodec/proresdsp.c
libavcodec/x86/Makefile
libavcodec/x86/vc1dsp_mmx.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodoc: allow building with old texi2html versions
Mans Rullgard [Mon, 8 Oct 2012 10:13:35 +0000 (11:13 +0100)]
doc: allow building with old texi2html versions

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoMerge commit '716d413c13981da15323c7a3821860536eefdbbb'
Michael Niedermayer [Mon, 8 Oct 2012 18:54:00 +0000 (20:54 +0200)]
Merge commit '716d413c13981da15323c7a3821860536eefdbbb'

* commit '716d413c13981da15323c7a3821860536eefdbbb':
  Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat

Conflicts:
doc/examples/muxing.c
ffmpeg.h
ffmpeg_filter.c
ffmpeg_opt.c
ffplay.c
ffprobe.c
libavcodec/8bps.c
libavcodec/aasc.c
libavcodec/aura.c
libavcodec/avcodec.h
libavcodec/avs.c
libavcodec/bfi.c
libavcodec/bmp.c
libavcodec/bmpenc.c
libavcodec/c93.c
libavcodec/cscd.c
libavcodec/cyuv.c
libavcodec/dpx.c
libavcodec/dpxenc.c
libavcodec/eatgv.c
libavcodec/escape124.c
libavcodec/ffv1.c
libavcodec/flashsv.c
libavcodec/fraps.c
libavcodec/h264.c
libavcodec/huffyuv.c
libavcodec/iff.c
libavcodec/imgconvert.c
libavcodec/indeo3.c
libavcodec/kmvc.c
libavcodec/libopenjpegdec.c
libavcodec/libopenjpegenc.c
libavcodec/libx264.c
libavcodec/ljpegenc.c
libavcodec/mjpegdec.c
libavcodec/mjpegenc.c
libavcodec/motionpixels.c
libavcodec/mpeg12.c
libavcodec/mpeg12enc.c
libavcodec/mpeg4videodec.c
libavcodec/mpegvideo_enc.c
libavcodec/pamenc.c
libavcodec/pcxenc.c
libavcodec/pgssubdec.c
libavcodec/pngdec.c
libavcodec/pngenc.c
libavcodec/pnm.c
libavcodec/pnmdec.c
libavcodec/pnmenc.c
libavcodec/ptx.c
libavcodec/qdrw.c
libavcodec/qpeg.c
libavcodec/qtrleenc.c
libavcodec/raw.c
libavcodec/rawdec.c
libavcodec/rl2.c
libavcodec/sgidec.c
libavcodec/sgienc.c
libavcodec/snowdec.c
libavcodec/snowenc.c
libavcodec/sunrast.c
libavcodec/targa.c
libavcodec/targaenc.c
libavcodec/tiff.c
libavcodec/tiffenc.c
libavcodec/tmv.c
libavcodec/truemotion2.c
libavcodec/utils.c
libavcodec/vb.c
libavcodec/vp3.c
libavcodec/wnv1.c
libavcodec/xl.c
libavcodec/xwddec.c
libavcodec/xwdenc.c
libavcodec/yop.c
libavdevice/v4l2.c
libavdevice/x11grab.c
libavfilter/avfilter.c
libavfilter/avfilter.h
libavfilter/buffersrc.c
libavfilter/drawutils.c
libavfilter/formats.c
libavfilter/src_movie.c
libavfilter/vf_ass.c
libavfilter/vf_drawtext.c
libavfilter/vf_fade.c
libavfilter/vf_format.c
libavfilter/vf_hflip.c
libavfilter/vf_lut.c
libavfilter/vf_overlay.c
libavfilter/vf_pad.c
libavfilter/vf_scale.c
libavfilter/vf_transpose.c
libavfilter/vf_yadif.c
libavfilter/video.c
libavfilter/vsrc_testsrc.c
libavformat/movenc.c
libavformat/mxf.h
libavformat/utils.c
libavformat/yuv4mpeg.c
libavutil/imgutils.c
libavutil/pixdesc.c
libswscale/input.c
libswscale/output.c
libswscale/swscale_internal.h
libswscale/swscale_unscaled.c
libswscale/utils.c
libswscale/x86/swscale_template.c
libswscale/x86/yuv2rgb.c
libswscale/x86/yuv2rgb_template.c
libswscale/yuv2rgb.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolavu: fix typo in Makefile
Anton Khirnov [Mon, 8 Oct 2012 06:10:23 +0000 (08:10 +0200)]
lavu: fix typo in Makefile

8 years agoMerge commit '78071a1420b425dfb787ac739048f523007b8139'
Michael Niedermayer [Mon, 8 Oct 2012 17:32:59 +0000 (19:32 +0200)]
Merge commit '78071a1420b425dfb787ac739048f523007b8139'

* commit '78071a1420b425dfb787ac739048f523007b8139':
  pixfmt: add AV_ prefixes to PIX_FMT_*

Conflicts:
doc/APIchanges
libavutil/pixfmt.h
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 8 Oct 2012 11:11:11 +0000 (13:11 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  af_resample: avoid conversion of identical sample formats for 1 channel
  avcodec: allow either planar or interleaved sample format when encoding mono
  adpcmenc: ensure calls to adpcm_ima_compress_sample() are in the right order
  timefilter: De-doxygenize normal code comments and drop silly ones
  gxf: Include the right header for the avpriv_frame_rate_tab declaration

Conflicts:
libavcodec/adpcmenc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavutil: skip old_pix_fmts.h since it is just a list
Janne Grunau [Mon, 8 Oct 2012 10:09:16 +0000 (12:09 +0200)]
avutil: skip old_pix_fmts.h since it is just a list

8 years agox86: vc1: call ff_vc1dsp_init_x86() under if (ARCH_X86)
Janne Grunau [Sun, 7 Oct 2012 15:41:10 +0000 (17:41 +0200)]
x86: vc1: call ff_vc1dsp_init_x86() under if (ARCH_X86)

8 years agox86: cavs: call ff_cavsdsp_init_x86() under if (ARCH_X86)
Janne Grunau [Sun, 7 Oct 2012 15:23:54 +0000 (17:23 +0200)]
x86: cavs: call ff_cavsdsp_init_x86() under if (ARCH_X86)

8 years agox86: call most of the x86 dsp init functions under if (ARCH_X86)
Janne Grunau [Fri, 5 Oct 2012 17:54:10 +0000 (19:54 +0200)]
x86: call most of the x86 dsp init functions under if (ARCH_X86)

Rename the called dsp init functions to *_init_x86.

8 years agodoc: support the new website layout
Luca Barbato [Sun, 30 Sep 2012 04:02:34 +0000 (06:02 +0200)]
doc: support the new website layout

8 years agodoc: remove a warning from filters.texi
Luca Barbato [Sun, 7 Oct 2012 22:52:38 +0000 (00:52 +0200)]
doc: remove a warning from filters.texi

The tag @table expects @item to mark entries.

8 years agodoc: initial nut documentation
Luca Barbato [Tue, 13 Dec 2011 22:50:20 +0000 (23:50 +0100)]
doc: initial nut documentation

8 years agosegment: drop global headers setting
Luca Barbato [Fri, 5 Oct 2012 03:07:18 +0000 (05:07 +0200)]
segment: drop global headers setting

avconv provides an option to set it externally and there isn't a way for
the outer demuxer to report the inner demuxer flag.

Solves a bad interaction between mpegts and x264, but requires
additional setting for the user.

8 years agoTAK demuxer, decoder and parser
Paul B Mahol [Tue, 2 Oct 2012 13:43:19 +0000 (13:43 +0000)]
TAK demuxer, decoder and parser

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agofate/ffprobe: add some stream metadata.
Clément Bœsch [Thu, 27 Sep 2012 07:49:56 +0000 (09:49 +0200)]
fate/ffprobe: add some stream metadata.

8 years agoffserver: fix seeking with ?date=...
Clément Bœsch [Fri, 5 Oct 2012 14:46:01 +0000 (16:46 +0200)]
ffserver: fix seeking with ?date=...

Regression since 5f847bf61dca1fd1a2f65a2f56c9a99d1cb716ab.

After this commit, timestamps pushed by FFmpeg won't be relative
anymore, but absolute (based on the date/time at the beginning of the
push). This will allow seeking to work properly. Before this patch, the
seek was done, but ffm timestamps were way smallers than the absolute
requested timestamp (based on a date), so the seek was done, but to the
end of the stream (which was similar to no effect at all).

8 years agolavu: fix typo in Makefile
Anton Khirnov [Mon, 8 Oct 2012 06:10:23 +0000 (08:10 +0200)]
lavu: fix typo in Makefile

8 years agoReplace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat
Anton Khirnov [Sat, 6 Oct 2012 10:10:34 +0000 (12:10 +0200)]
Replace PIX_FMT_* -> AV_PIX_FMT_*, PixelFormat -> AVPixelFormat

8 years agopixfmt: add AV_ prefixes to PIX_FMT_*
Anton Khirnov [Sat, 6 Oct 2012 09:18:06 +0000 (11:18 +0200)]
pixfmt: add AV_ prefixes to PIX_FMT_*

8 years agoFix build failure on osx 10.5.8 ppc
Pavel Koshevoy [Mon, 8 Oct 2012 03:13:28 +0000 (21:13 -0600)]
Fix build failure on osx 10.5.8 ppc

Second parameter to vec_splat must be a literal, not a variable
value.  Therefore the second nested for-loop in
float_to_int16_stride_altivec had to be unrolled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompegts: fuzzy crc check for not so spec compliant files
Michael Niedermayer [Mon, 8 Oct 2012 03:25:27 +0000 (05:25 +0200)]
mpegts: fuzzy crc check for not so spec compliant files

Fixes Ticket598

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoxtea: give constants the correct type
Michael Niedermayer [Mon, 8 Oct 2012 01:44:18 +0000 (03:44 +0200)]
xtea: give constants the correct type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agowmalosslessdec: remove unused variable
Michael Niedermayer [Mon, 8 Oct 2012 01:12:44 +0000 (03:12 +0200)]
wmalosslessdec: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agotscc: fix "assignment discards qualifiers from pointer target type" warning
Michael Niedermayer [Mon, 8 Oct 2012 01:11:02 +0000 (03:11 +0200)]
tscc: fix "assignment discards qualifiers from pointer target type" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agotiff: fix "assignment discards qualifiers from pointer target type" warning
Michael Niedermayer [Mon, 8 Oct 2012 01:09:16 +0000 (03:09 +0200)]
tiff: fix "assignment discards qualifiers from pointer target type" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agorangecoder: fix "incompatible pointer type" warning
Michael Niedermayer [Mon, 8 Oct 2012 01:06:04 +0000 (03:06 +0200)]
rangecoder: fix "incompatible pointer type" warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoffv1: fix array data types
Michael Niedermayer [Mon, 8 Oct 2012 00:11:25 +0000 (02:11 +0200)]
ffv1: fix array data types

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years ago8svx: remove unused variable
Michael Niedermayer [Mon, 8 Oct 2012 00:09:28 +0000 (02:09 +0200)]
8svx: remove unused variable

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomxfenc: fix av_log data type for dts paramater
Michael Niedermayer [Mon, 8 Oct 2012 00:08:28 +0000 (02:08 +0200)]
mxfenc: fix av_log data type for dts paramater

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomux: change 1 assert->av_assert1()
Michael Niedermayer [Sun, 7 Oct 2012 21:15:18 +0000 (23:15 +0200)]
mux: change 1 assert->av_assert1()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agox86/motion_est: assert->av_assert2()
Michael Niedermayer [Sun, 7 Oct 2012 21:14:59 +0000 (23:14 +0200)]
x86/motion_est: assert->av_assert2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomotion-test: fix height parameter
Michael Niedermayer [Sun, 7 Oct 2012 21:30:52 +0000 (23:30 +0200)]
motion-test: fix height parameter

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoaf_resample: avoid conversion of identical sample formats for 1 channel
Justin Ruggles [Thu, 20 Sep 2012 17:28:34 +0000 (13:28 -0400)]
af_resample: avoid conversion of identical sample formats for 1 channel

When there is only 1 channel, the planar and interleaved formats of the same
data type should be treated as identical.

8 years agoavcodec: allow either planar or interleaved sample format when encoding mono
Justin Ruggles [Thu, 20 Sep 2012 05:04:15 +0000 (01:04 -0400)]
avcodec: allow either planar or interleaved sample format when encoding mono

When there is only 1 channel, the planar and interleaved formats of the same
data type should be treated as identical.

8 years agoadpcmenc: ensure calls to adpcm_ima_compress_sample() are in the right order
Justin Ruggles [Sun, 7 Oct 2012 03:58:03 +0000 (23:58 -0400)]
adpcmenc: ensure calls to adpcm_ima_compress_sample() are in the right order

Should fix fate-acodec-adpcm-ima_wav with several compilers.

8 years agotimefilter: De-doxygenize normal code comments and drop silly ones
Diego Biurrun [Fri, 5 Oct 2012 17:29:18 +0000 (19:29 +0200)]
timefilter: De-doxygenize normal code comments and drop silly ones

8 years agoadpcmenc: ensure calls to adpcm_ima_compress_sample() are in the right order
Justin Ruggles [Sun, 7 Oct 2012 20:02:20 +0000 (16:02 -0400)]
adpcmenc: ensure calls to adpcm_ima_compress_sample() are in the right order

Should fix fate-acodec-adpcm-ima_wav with several compilers.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoavformat: fix typo in comment
Paul B Mahol [Sun, 7 Oct 2012 17:57:13 +0000 (17:57 +0000)]
avformat: fix typo in comment

Signed-off-by: Paul B Mahol <onemda@gmail.com>
8 years agoh264: switch some asserts to av_assert1/2()
Michael Niedermayer [Sun, 7 Oct 2012 17:39:49 +0000 (19:39 +0200)]
h264: switch some asserts to av_assert1/2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodsputil_template: replace assert() by av_assert2()
Michael Niedermayer [Sun, 7 Oct 2012 17:31:15 +0000 (19:31 +0200)]
dsputil_template: replace assert() by av_assert2()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agogxf: Include the right header for the avpriv_frame_rate_tab declaration
Martin Storsjö [Sun, 7 Oct 2012 09:42:54 +0000 (12:42 +0300)]
gxf: Include the right header for the avpriv_frame_rate_tab declaration

Signed-off-by: Martin Storsjö <martin@martin.st>
8 years agomatroskaenc: remove MATROSKA_ID_VIDEODISPLAYUNIT 3
Michael Niedermayer [Sun, 7 Oct 2012 10:48:31 +0000 (12:48 +0200)]
matroskaenc: remove MATROSKA_ID_VIDEODISPLAYUNIT 3

Should fix ticket 1754

Thanks-to: Moritz Bunkus <moritz@bunkus.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 7 Oct 2012 09:23:29 +0000 (11:23 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  wmaenc: use float planar sample format
  (e)ac3enc: use planar sample format
  aacenc: use planar sample format
  adpcmenc: use planar sample format for adpcm_ima_wav and adpcm_ima_qt
  adpcmenc: move 'ch' variable to higher scope
  adpcmenc: fix 3 instances of variable shadowing
  adpcm_ima_wav: simplify encoding
  libvorbis: use planar sample format
  libmp3lame: use planar sample formats
  vorbisenc: use float planar sample format
  ffm: do not write or read the audio sample format
  parseutils: fix parsing of invalid alpha values
  doc/RELEASE_NOTES: update for the 9 release.
  smoothstreamingenc: Add a more verbose error message
  smoothstreamingenc: Ignore the return value from mkdir
  smoothstreamingenc: Try writing a manifest when opening the muxer
  smoothstreamingenc: Move the output_chunk_list and write_manifest functions up
  smoothstreamingenc: Properly return errors from ism_flush to the caller
  smoothstreamingenc: Check the output UrlContext before accessing it

Conflicts:
doc/RELEASE_NOTES
libavcodec/aacenc.c
libavcodec/ac3enc_template.c
libavcodec/wmaenc.c
tests/ref/lavf/ffm

Merged-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomovenc: support an alternative to edit lists to handle the first DTS != 0 case.
Michael Niedermayer [Sat, 29 Sep 2012 04:33:32 +0000 (06:33 +0200)]
movenc: support an alternative to edit lists to handle the first DTS != 0 case.

Some software does not support edit lists at all, the adobe flash
player seems to be one of these. Which results in AV sync errors when
edit lists are used to adjust AV sync.

2nd try on implementing this, the first try had various issues

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomov: fix integer avoption types
Michael Niedermayer [Sun, 7 Oct 2012 01:16:38 +0000 (03:16 +0200)]
mov: fix integer avoption types

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agompeg4videodec: fix integer avoption types
Michael Niedermayer [Sun, 7 Oct 2012 01:15:36 +0000 (03:15 +0200)]
mpeg4videodec: fix integer avoption types

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agolibvpcenc: fix flags voption types
Michael Niedermayer [Sun, 7 Oct 2012 01:14:15 +0000 (03:14 +0200)]
libvpcenc: fix flags voption types

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoh264: fix integer avoption types
Michael Niedermayer [Sun, 7 Oct 2012 01:13:31 +0000 (03:13 +0200)]
h264: fix integer avoption types

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agotests/Makefile: fix ffprobe-test.nut with target-exec
jamal [Sun, 7 Oct 2012 00:43:51 +0000 (02:43 +0200)]
tests/Makefile: fix ffprobe-test.nut with target-exec

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agogmc_mmx: enable also for large pictures when emu edge isnt needed.
Michael Niedermayer [Sat, 6 Oct 2012 21:12:57 +0000 (23:12 +0200)]
gmc_mmx: enable also for large pictures when emu edge isnt needed.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodsputil_mmx: put optimized gmc code back and avoid a VLA without loosing features.
Michael Niedermayer [Sat, 6 Oct 2012 20:36:49 +0000 (22:36 +0200)]
dsputil_mmx: put optimized gmc code back and avoid a VLA without loosing features.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agoget_bits: get_bits_long() support n=0 as the docs allow it
Michael Niedermayer [Sat, 6 Oct 2012 20:25:04 +0000 (22:25 +0200)]
get_bits: get_bits_long() support n=0 as the docs allow it

also the 0 case is indeed used in some code pathes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agomovenc: fix regression with yuyv caused by c5f23d
Michael Niedermayer [Sat, 6 Oct 2012 18:19:05 +0000 (20:19 +0200)]
movenc: fix regression with yuyv caused by c5f23d

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agowmaenc: use float planar sample format
Justin Ruggles [Sat, 25 Aug 2012 17:44:30 +0000 (13:44 -0400)]
wmaenc: use float planar sample format

8 years ago(e)ac3enc: use planar sample format
Justin Ruggles [Sat, 25 Aug 2012 17:11:10 +0000 (13:11 -0400)]
(e)ac3enc: use planar sample format

8 years agoaacenc: use planar sample format
Justin Ruggles [Sat, 25 Aug 2012 17:04:33 +0000 (13:04 -0400)]
aacenc: use planar sample format

8 years agovf_tile: fix typos/grammar in comments
Bobby Bingham [Sat, 6 Oct 2012 16:32:42 +0000 (11:32 -0500)]
vf_tile: fix typos/grammar in comments

Signed-off-by: Bobby Bingham <uhmmmm@gmail.com>
8 years agoadpcmenc: use planar sample format for adpcm_ima_wav and adpcm_ima_qt
Justin Ruggles [Sat, 25 Aug 2012 13:13:50 +0000 (09:13 -0400)]
adpcmenc: use planar sample format for adpcm_ima_wav and adpcm_ima_qt

8 years agoadpcmenc: move 'ch' variable to higher scope
Justin Ruggles [Sat, 25 Aug 2012 13:00:50 +0000 (09:00 -0400)]
adpcmenc: move 'ch' variable to higher scope

It is used for multiple codecs.

8 years agoadpcmenc: fix 3 instances of variable shadowing
Justin Ruggles [Sat, 25 Aug 2012 04:40:37 +0000 (00:40 -0400)]
adpcmenc: fix 3 instances of variable shadowing

8 years agoadpcm_ima_wav: simplify encoding
Justin Ruggles [Sat, 25 Aug 2012 04:39:17 +0000 (00:39 -0400)]
adpcm_ima_wav: simplify encoding

8 years agolibvorbis: use planar sample format
Justin Ruggles [Thu, 23 Aug 2012 17:47:09 +0000 (13:47 -0400)]
libvorbis: use planar sample format

8 years agolibmp3lame: use planar sample formats
Justin Ruggles [Wed, 22 Aug 2012 16:23:21 +0000 (12:23 -0400)]
libmp3lame: use planar sample formats

8 years agovorbisenc: use float planar sample format
Justin Ruggles [Mon, 20 Aug 2012 17:25:27 +0000 (13:25 -0400)]
vorbisenc: use float planar sample format

8 years agoffm: do not write or read the audio sample format
Justin Ruggles [Mon, 1 Oct 2012 05:24:57 +0000 (01:24 -0400)]
ffm: do not write or read the audio sample format

8 years agoparseutils: fix parsing of invalid alpha values
Mans Rullgard [Sat, 6 Oct 2012 09:21:22 +0000 (10:21 +0100)]
parseutils: fix parsing of invalid alpha values

An alpha specifier outside the valid range results in a conversion from
double to long with undefined result.  Range-checking the double and
only converting it after it passes avoids this.

Fixes fate-parseutils errors on some systems.

Signed-off-by: Mans Rullgard <mans@mansr.com>
8 years agoconfigure: enable -Werror=vla
Michael Niedermayer [Sat, 6 Oct 2012 12:03:32 +0000 (14:03 +0200)]
configure: enable  -Werror=vla

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agopca: get rid of VLA
Michael Niedermayer [Sat, 6 Oct 2012 12:03:15 +0000 (14:03 +0200)]
pca: get rid of VLA

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agosnowenc: get rid of VLA (well it wasnt really variable anyway)
Michael Niedermayer [Sat, 6 Oct 2012 11:59:35 +0000 (13:59 +0200)]
snowenc: get rid of VLA (well it wasnt really variable anyway)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
8 years agodoc/RELEASE_NOTES: update for the 9 release.
Anton Khirnov [Fri, 5 Oct 2012 05:27:33 +0000 (07:27 +0200)]
doc/RELEASE_NOTES: update for the 9 release.

Signed-off-by: Diego Biurrun <diego@biurrun.de>
8 years agoswr-test: avoid VLA
Michael Niedermayer [Sat, 6 Oct 2012 11:48:47 +0000 (13:48 +0200)]
swr-test: avoid VLA

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