]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 19 Jul 2012 19:58:09 +0000 (21:58 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  Print full compiler identification, not only version number
  flacdec: reverse lpc coeff order, simplify filter
  x86: dsputil: drop some unused CPU flag debug code

Conflicts:
cmdutils.c
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agothreads: fix a potential race spotted by helgrind.
Clément Bœsch [Thu, 19 Jul 2012 17:08:31 +0000 (19:08 +0200)]
threads: fix a potential race spotted by helgrind.

11 years agofate/subtitles: sort tests alphabetically.
Clément Bœsch [Thu, 19 Jul 2012 17:07:10 +0000 (19:07 +0200)]
fate/subtitles: sort tests alphabetically.

11 years agomxfdec: simplify code by using av_calloc()
Michael Niedermayer [Wed, 1 Feb 2012 05:05:12 +0000 (06:05 +0100)]
mxfdec: simplify code by using av_calloc()

Reviewed a long time ago by: Tomas Härdin <tomas.hardin@codemill.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavidec: Mark first frame as keyframe in case there are no keyframes.
Michael Niedermayer [Mon, 30 Jan 2012 22:52:45 +0000 (23:52 +0100)]
avidec: Mark first frame as keyframe in case there are no keyframes.

This fixes seeking in filecopy.avi of Ticket504

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoFix misspellings of FFmpeg
Michael Niedermayer [Wed, 18 Jul 2012 20:46:47 +0000 (22:46 +0200)]
Fix misspellings of FFmpeg

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswscale/input: silence warnings about incompatible pointer types
Paul B Mahol [Thu, 19 Jul 2012 01:07:38 +0000 (01:07 +0000)]
swscale/input: silence warnings about incompatible pointer types

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoffmpeg: add -(no)stdin option.
Nicolas George [Wed, 11 Jul 2012 19:10:17 +0000 (21:10 +0200)]
ffmpeg: add -(no)stdin option.

Allows to disable interaction from standard input.
Useful, for example, if ffmpeg is in the background process group.
Roughly the same result can be achieved with "ffmpeg ... < /dev/null"
but it requires a shell.

11 years agoffmpeg: invert using_stdin and rename accordingly.
Nicolas George [Sat, 14 Jul 2012 15:52:51 +0000 (17:52 +0200)]
ffmpeg: invert using_stdin and rename accordingly.

There are other reasons not to use stdin than having it as an input.

11 years agoPrint full compiler identification, not only version number
Mans Rullgard [Wed, 18 Jul 2012 16:57:57 +0000 (17:57 +0100)]
Print full compiler identification, not only version number

This provides a more precise identification of the compiler used.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agoflacdec: reverse lpc coeff order, simplify filter
Mans Rullgard [Thu, 5 Jul 2012 11:25:40 +0000 (12:25 +0100)]
flacdec: reverse lpc coeff order, simplify filter

Reversing the lpc coefficient order simplifies indexing in
the filter.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agox86: dsputil: drop some unused CPU flag debug code
Diego Biurrun [Wed, 18 Jul 2012 07:46:38 +0000 (09:46 +0200)]
x86: dsputil: drop some unused CPU flag debug code

11 years agoswscale: unscaled rgba64->rgb48
Paul B Mahol [Wed, 18 Jul 2012 01:49:52 +0000 (01:49 +0000)]
swscale: unscaled rgba64->rgb48

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoswscale: unscaled rgba64->bgr48
Paul B Mahol [Wed, 18 Jul 2012 01:34:20 +0000 (01:34 +0000)]
swscale: unscaled rgba64->bgr48

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoswscale: simplify unscaled rgb48<->bgr48
Paul B Mahol [Wed, 18 Jul 2012 00:09:37 +0000 (00:09 +0000)]
swscale: simplify unscaled rgb48<->bgr48

Using av_bswap16 should be enough.

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 18 Jul 2012 20:27:46 +0000 (22:27 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  ppc: fix build with altivec disabled
  vp3: move idct and loop filter pointers to new vp3dsp context
  build: add CONFIG_VP3DSP, reduce repetition in OBJS lists
  tscc2: do not add/subtract 128 bias during DCT
  tscc2: fix typo in DCT
  configure: clarify external library section of help output
  configure: mark libfdk-aac as nonfree
  configure: cosmetics: drop some unnecessary backslashes
  os_support: K&R formatting cosmetics

Conflicts:
configure
libavcodec/vp3.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosws: more complete doxy for sws_setColorspaceDetails()
Michael Niedermayer [Wed, 18 Jul 2012 19:22:05 +0000 (21:22 +0200)]
sws: more complete doxy for sws_setColorspaceDetails()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/utils: show the number of stream in case of missing parameter
Stefano Sabatini [Wed, 18 Jul 2012 15:05:07 +0000 (17:05 +0200)]
lavf/utils: show the number of stream in case of missing parameter

Increase feedback provided in avformat_find_stream_info().

11 years agolavf/utils: suggest what to do in case of missing codec information
Stefano Sabatini [Sun, 15 Jul 2012 22:29:23 +0000 (00:29 +0200)]
lavf/utils: suggest what to do in case of missing codec information

In particular, fix trac issue #218.

11 years agolavf/utils: extend has_codec_parameters() to make it show what info is missing
Stefano Sabatini [Sun, 15 Jul 2012 22:27:09 +0000 (00:27 +0200)]
lavf/utils: extend has_codec_parameters() to make it show what info is missing

Improve feedback.

11 years agoimgconvert: favor pixel formats without resolution loss
Michael Niedermayer [Wed, 18 Jul 2012 15:17:46 +0000 (17:17 +0200)]
imgconvert: favor pixel formats without resolution loss

Fixes Ticket1517

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfiltergraph: add some debug info about selected pixel formats
Michael Niedermayer [Wed, 18 Jul 2012 15:17:23 +0000 (17:17 +0200)]
avfiltergraph: add some debug info about selected pixel formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: simplify dependencies for x11_grab_device
Stefano Sabatini [Sun, 15 Jul 2012 16:01:23 +0000 (18:01 +0200)]
configure: simplify dependencies for x11_grab_device

XShmCreateImage dependency is implied by x11grab.

11 years agoconfigure: fix help message for --disable-avfilter
Stefano Sabatini [Sun, 15 Jul 2012 15:03:06 +0000 (17:03 +0200)]
configure: fix help message for --disable-avfilter

Increase consistency with the other similar messages.

11 years agolavfi/avfiltergraph: apply misc fixes to fix avfilter_graph_request_oldest() @return...
Stefano Sabatini [Wed, 18 Jul 2012 13:41:20 +0000 (15:41 +0200)]
lavfi/avfiltergraph: apply misc fixes to fix avfilter_graph_request_oldest() @return doxy

11 years agoffmpeg: revert 3ba90d9 (cosmetics to reduce difference to qatar by about 90 lines)
Michael Niedermayer [Wed, 18 Jul 2012 14:35:01 +0000 (16:35 +0200)]
ffmpeg: revert 3ba90d9 (cosmetics to reduce difference to qatar by about 90 lines)

This commit caused Ticket1490 (Infinity loop / lock in export image)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomlpdec: switch to av_assert
Michael Niedermayer [Wed, 18 Jul 2012 14:19:51 +0000 (16:19 +0200)]
mlpdec: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosws/input: switch to av_assert
Michael Niedermayer [Wed, 18 Jul 2012 14:18:32 +0000 (16:18 +0200)]
sws/input: switch to av_assert

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoppc: fix build with altivec disabled
Mans Rullgard [Wed, 18 Jul 2012 12:22:46 +0000 (13:22 +0100)]
ppc: fix build with altivec disabled

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agovp3: move idct and loop filter pointers to new vp3dsp context
Mans Rullgard [Tue, 17 Jul 2012 15:47:43 +0000 (16:47 +0100)]
vp3: move idct and loop filter pointers to new vp3dsp context

This moves all VP3-specific function pointers from dsputil to a
new vp3dsp context.  There is no reason to ever use the VP3 IDCT
where an MPEG2 IDCT is expected or vice versa.

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agobuild: add CONFIG_VP3DSP, reduce repetition in OBJS lists
Mans Rullgard [Mon, 16 Jul 2012 11:50:14 +0000 (12:50 +0100)]
build: add CONFIG_VP3DSP, reduce repetition in OBJS lists

Signed-off-by: Mans Rullgard <mans@mansr.com>
11 years agotscc2: do not add/subtract 128 bias during DCT
Kostya Shishkov [Tue, 17 Jul 2012 16:12:41 +0000 (18:12 +0200)]
tscc2: do not add/subtract 128 bias during DCT

It turns out that the reference decoder subtracts 128 from DC during block
decode but adds it back during reordering block with zigzag pattern.
Transforming block with incorrect DC caused heavy visual artifacts for
many quantisers.

11 years agotscc2: fix typo in DCT
Kostya Shishkov [Tue, 17 Jul 2012 15:34:58 +0000 (17:34 +0200)]
tscc2: fix typo in DCT

11 years agoconfigure: clarify external library section of help output
Diego Biurrun [Mon, 16 Jul 2012 16:19:13 +0000 (18:19 +0200)]
configure: clarify external library section of help output

11 years agoconfigure: mark libfdk-aac as nonfree
Diego Biurrun [Mon, 16 Jul 2012 23:32:01 +0000 (01:32 +0200)]
configure: mark libfdk-aac as nonfree

11 years agoconfigure: cosmetics: drop some unnecessary backslashes
Diego Biurrun [Mon, 16 Jul 2012 14:51:33 +0000 (16:51 +0200)]
configure: cosmetics: drop some unnecessary backslashes

11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Tue, 17 Jul 2012 23:27:19 +0000 (01:27 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  libopenjpeg: introduce encoding support
  libopenjpeg: rename decoder source file.
  RTMPTS protocol support
  RTMPS protocol support
  avconv: print an error message when demuxing fails.
  tscc2: DCT output should not be clipped
  rtmp: Rename rtmphttp to ffrtmphttp

Conflicts:
Changelog
configure
doc/general.texi
libavcodec/libopenjpegenc.c
libavcodec/version.h
libavformat/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfiltergraph: document a catch in request_oldest().
Nicolas George [Tue, 17 Jul 2012 15:53:50 +0000 (17:53 +0200)]
avfiltergraph: document a catch in request_oldest().

This one is tricky. Consider a graph with two sink links, A and B.
request_oldest() requests on A, and A returns EOF. This EOF causes
a filter to flush pending frames to B; they are unrequested.
Then request_oldest() moves on to B, and B returns EOF.

11 years agoavfiltergraph: add a debug message on EOF.
Nicolas George [Tue, 17 Jul 2012 15:47:50 +0000 (17:47 +0200)]
avfiltergraph: add a debug message on EOF.

11 years agolavfi: rescale link->current_pts.
Nicolas George [Tue, 17 Jul 2012 15:43:39 +0000 (17:43 +0200)]
lavfi: rescale link->current_pts.

The doxy says, and the heap implementations assumes,
it is in AV_TIME_BASE units.

11 years agoos_support: K&R formatting cosmetics
Diego Biurrun [Sun, 15 Jul 2012 20:12:30 +0000 (22:12 +0200)]
os_support: K&R formatting cosmetics

11 years agoptx: correct decoding
Paul B Mahol [Mon, 16 Jul 2012 21:53:44 +0000 (21:53 +0000)]
ptx: correct decoding

The image data is in BGR and not in RGB.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agomov/aac: skip initial aac padding
Michael Niedermayer [Sun, 15 Jul 2012 13:29:01 +0000 (15:29 +0200)]
mov/aac: skip initial aac padding

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoriff: add "SM4V" FourCC
Piotr Bandurski [Tue, 17 Jul 2012 13:34:26 +0000 (15:34 +0200)]
riff: add "SM4V" FourCC

Reviewed-by: compn <tempn@twmi.rr.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavf:rmdec.c fill duration to AVFormatContext
William Yu [Fri, 13 Jul 2012 09:16:01 +0000 (17:16 +0800)]
avf:rmdec.c fill duration to AVFormatContext

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibopenjpeg: introduce encoding support
Michael Bradshaw [Thu, 17 Nov 2011 23:57:09 +0000 (16:57 -0700)]
libopenjpeg: introduce encoding support

Based on FFmpeg version from
commit 713a7854e06964abc8f7d015b94acbed27769d24

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agolibopenjpeg: rename decoder source file.
Michael Bradshaw [Thu, 17 Nov 2011 14:39:16 +0000 (15:39 +0100)]
libopenjpeg: rename decoder source file.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agosws: handle non native rgb<->rgb convertions
Michael Niedermayer [Tue, 17 Jul 2012 02:24:24 +0000 (04:24 +0200)]
sws: handle non native rgb<->rgb convertions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoyuv2rgb: implement 15/16bit ordered dither
Michael Niedermayer [Tue, 17 Jul 2012 02:47:23 +0000 (04:47 +0200)]
yuv2rgb: implement 15/16bit ordered dither

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoRTMPTS protocol support
Samuel Pitoiset [Tue, 17 Jul 2012 10:02:43 +0000 (12:02 +0200)]
RTMPTS protocol support

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoRTMPS protocol support
Samuel Pitoiset [Tue, 17 Jul 2012 10:02:42 +0000 (12:02 +0200)]
RTMPS protocol support

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolswr: channel_map requires input conversion.
Nicolas George [Mon, 16 Jul 2012 12:18:19 +0000 (14:18 +0200)]
lswr: channel_map requires input conversion.

channel_map is applied between in and postin.
Without this test, if the input format is an acceptable internal format,
the in->postin conversion is skipped. In the best case,
it ignores channel_map, in the worst case it causes an assert failure
if the number of channels is changed by the map.

11 years agoavconv: print an error message when demuxing fails.
Anton Khirnov [Sun, 15 Jul 2012 22:22:05 +0000 (00:22 +0200)]
avconv: print an error message when demuxing fails.

Also exit in such a case if -xerror is used.

Fixes bug 329.

11 years agoFix libilbc compilation.
chinshou [Tue, 17 Jul 2012 06:53:36 +0000 (08:53 +0200)]
Fix libilbc compilation.

Fixes ticket #1540

11 years agompeg4videodec: Add two missing format specifiers for debug output.
Carl Eugen Hoyos [Tue, 17 Jul 2012 06:12:49 +0000 (08:12 +0200)]
mpeg4videodec: Add two missing format specifiers for debug output.

11 years agompeg4videodec: Use format specifier PRId64 for int64_t.
Carl Eugen Hoyos [Tue, 17 Jul 2012 06:11:31 +0000 (08:11 +0200)]
mpeg4videodec: Use format specifier PRId64 for int64_t.

11 years agoRemove internal MPlayer FourCC viv1.
Carl Eugen Hoyos [Tue, 17 Jul 2012 06:09:32 +0000 (08:09 +0200)]
Remove internal MPlayer FourCC viv1.

Reviewed-by: Derek Buitenhuis
Reviewed-by: Paul B Mahol
11 years agotscc2: DCT output should not be clipped
Kostya Shishkov [Mon, 16 Jul 2012 18:14:37 +0000 (20:14 +0200)]
tscc2: DCT output should not be clipped

This fixes decoding some TSCC2 files with large quantisers.

11 years agosws: extend dither tables by 1 line so simpler arithmetic can be used to address...
Michael Niedermayer [Tue, 17 Jul 2012 02:45:55 +0000 (04:45 +0200)]
sws: extend dither tables by 1 line so simpler arithmetic can be used to address the next line

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agotiff: read more tags of type string
Paul B Mahol [Mon, 16 Jul 2012 00:55:18 +0000 (00:55 +0000)]
tiff: read more tags of type string

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agotiff: add smarter checks if there is enough data left
Paul B Mahol [Mon, 16 Jul 2012 00:31:11 +0000 (00:31 +0000)]
tiff: add smarter checks if there is enough data left

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agotiff: port to bytestream2
Paul B Mahol [Sun, 15 Jul 2012 20:58:13 +0000 (20:58 +0000)]
tiff: port to bytestream2

Prevents out of array reads.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agortmp: Rename rtmphttp to ffrtmphttp
Samuel Pitoiset [Mon, 16 Jul 2012 09:56:20 +0000 (11:56 +0200)]
rtmp: Rename rtmphttp to ffrtmphttp

The prefix makes it easier to distinguish the proper end-user
protocols from the internal ones.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agolavu: disable av_uninit for clang
Paul B Mahol [Mon, 16 Jul 2012 19:30:13 +0000 (19:30 +0000)]
lavu: disable av_uninit for clang

This silence bunch of useless warnings like:

libavformat/mpeg.c:393:37: warning: variable 'dvdaudio_substream_type' is uninitialized when used within its own initialization [-Wuninitialized]

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Mon, 16 Jul 2012 18:45:35 +0000 (20:45 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  rtmp: rtmp_parse_result() add case for video and audio packets to avoid undesired debug output.
  configure: Move the getaddrinfo function check into the network block
  configure: Remove an unused 'have' item
  mpeg: remove disabled code
  libfdk-aac: Check if cutoff value is valid
  network: Always use our version of gai_strerror on windows
  network: Undefine existing gai_strerror definitions
  network: Extend the fallback gai_strerror implementation to handle more error codes

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: fix streamcopy of some mp3 in avi
Michael Niedermayer [Fri, 13 Jul 2012 14:24:54 +0000 (16:24 +0200)]
ffmpeg: fix streamcopy of some mp3 in avi

Fixes Ticket1432

Thanks-to: Mike Scheutzow <mike.scheutzow@alcatel-lucent.com> for some of the bug analysis
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1dec: fix error concealment for gop>1
Michael Niedermayer [Mon, 16 Jul 2012 14:48:09 +0000 (16:48 +0200)]
ffv1dec: fix error concealment for gop>1

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoFix DCA-XXCH extension scaling for embedded downmixes.
Nick Brereton [Sat, 14 Jul 2012 12:47:02 +0000 (13:47 +0100)]
Fix DCA-XXCH extension scaling for embedded downmixes.

Reviewed-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoFix ordering of XXCH downmix coefficients.
Nick Brereton [Thu, 12 Jul 2012 12:49:23 +0000 (13:49 +0100)]
Fix ordering of XXCH downmix coefficients.

Reviewed-by: Benjamin Larsson <benjamin@southpole.se>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1dec: detect errors in bytestream end mismatches for EC
Michael Niedermayer [Mon, 16 Jul 2012 13:41:40 +0000 (15:41 +0200)]
ffv1dec: detect errors in bytestream end mismatches for EC

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1dec: set the first slices bytestream end correctly
Michael Niedermayer [Mon, 16 Jul 2012 13:41:17 +0000 (15:41 +0200)]
ffv1dec: set the first slices bytestream end correctly

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1dec: keep track of errors in slice headers for EC
Michael Niedermayer [Mon, 16 Jul 2012 13:40:39 +0000 (15:40 +0200)]
ffv1dec: keep track of errors in slice headers for EC

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1dec: add simple error concealment in case of CRC errors on slices.
Michael Niedermayer [Mon, 16 Jul 2012 13:39:58 +0000 (15:39 +0200)]
ffv1dec: add simple error concealment in case of CRC errors on slices.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1: keep last_frame (to be used for error concealment)
Michael Niedermayer [Mon, 16 Jul 2012 13:38:27 +0000 (15:38 +0200)]
ffv1: keep last_frame (to be used for error concealment)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: print if the docs building tools have been found
Michael Niedermayer [Mon, 16 Jul 2012 12:45:41 +0000 (14:45 +0200)]
configure: print if the docs building tools have been found

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/filters: Fix two typos
Tim Nicholson [Mon, 16 Jul 2012 07:36:06 +0000 (08:36 +0100)]
doc/filters: Fix two typos

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agortmp: rtmp_parse_result() add case for video and audio packets to avoid undesired...
Jordi Ortiz [Tue, 3 Jul 2012 18:20:02 +0000 (18:20 +0000)]
rtmp: rtmp_parse_result() add case for video and audio packets to avoid undesired debug output.

Signed-off-by: Kostya Shishkov <kostya.shishkov@gmail.com>
11 years agoconfigure: Move the getaddrinfo function check into the network block
Martin Storsjö [Sun, 15 Jul 2012 22:11:18 +0000 (01:11 +0300)]
configure: Move the getaddrinfo function check into the network block

This makes the two checks (general vs winsock) fit in better.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoexr: check size of uncompressed buffer returned by uncompress()
Paul B Mahol [Fri, 13 Jul 2012 02:02:10 +0000 (02:02 +0000)]
exr: check size of uncompressed buffer returned by uncompress()

The actual size of uncompressed buffer returned by uncompress() may be
smaller than expected, so abort decoding in such cases.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoChangelog: add geotiff
Michael Niedermayer [Mon, 16 Jul 2012 00:07:25 +0000 (02:07 +0200)]
Changelog: add geotiff

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sun, 15 Jul 2012 23:32:52 +0000 (01:32 +0200)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: Check for CommandLineToArgvW
  vc1dec: Do not use random pred_flag if motion vector data is skipped
  vp8: Enclose pthread function calls in ifdefs
  snow: refactor code to work around a compiler bug in MSVC.
  vp8: Include the thread headers before using the pthread types
  configure: Check for getaddrinfo in ws2tcpip.h, too
  vp8: implement sliced threading
  vp8: move data from VP8Context->VP8Macroblock
  vp8: refactor decoding a single mb_row
  doc: update api changes with the right commit hashes
  mem: introduce av_malloc_array and av_mallocz_array

Conflicts:
configure
doc/APIchanges
libavcodec/vp8.c
libavutil/mem.h
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: Remove an unused 'have' item
Martin Storsjö [Sun, 15 Jul 2012 22:00:21 +0000 (01:00 +0300)]
configure: Remove an unused 'have' item

This is only used for checking for a certain library, but the code
doesn't need to know whether the function was found.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agompeg: remove disabled code
Diego Biurrun [Fri, 29 Jul 2011 10:01:22 +0000 (12:01 +0200)]
mpeg: remove disabled code

11 years agolibfdk-aac: Check if cutoff value is valid
Mohammad Alsaleh [Sun, 15 Jul 2012 16:41:11 +0000 (19:41 +0300)]
libfdk-aac: Check if cutoff value is valid

Passing a cutoff value < sample_rate/256 will cause a crash.
Also, values >20000 will have no effect and 20000 will be used anyway.

Signed-off-by: Mohammad Alsaleh <msal@tormail.org>
Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agonetwork: Always use our version of gai_strerror on windows
Martin Storsjö [Mon, 25 Jun 2012 09:50:13 +0000 (12:50 +0300)]
network: Always use our version of gai_strerror on windows

Even if linking directly to getaddrinfo, use our version of
gai_strerror instead of the system's version. Microsoft explicitly
documents that their version of gai_strerror is thread-unsafe.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agonetwork: Undefine existing gai_strerror definitions
Martin Storsjö [Mon, 18 Jun 2012 20:36:15 +0000 (23:36 +0300)]
network: Undefine existing gai_strerror definitions

This avoids warnings if there already exists a definition.

This is the case on windows, where the getaddrinfo isn't available
and linked to (and we use our fallbacks instead, which actually
try to use the proper getaddrinfo version if found at runtime),
but gai_strerror still exists as a define.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agonetwork: Extend the fallback gai_strerror implementation to handle more error codes
Martin Storsjö [Mon, 25 Jun 2012 09:44:18 +0000 (12:44 +0300)]
network: Extend the fallback gai_strerror implementation to handle more error codes

This is useful if a proper getaddrinfo is loaded dynamically on
windows, while using the fallback implementation of gai_strerror.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoffprobe: reindent after the previous commit
Stefano Sabatini [Sun, 15 Jul 2012 14:27:22 +0000 (16:27 +0200)]
ffprobe: reindent after the previous commit

11 years agoffprobe: only decode frame if the codec is available
Stefano Sabatini [Sun, 15 Jul 2012 13:56:02 +0000 (15:56 +0200)]
ffprobe: only decode frame if the codec is available

Fix crash when a stream codec is unknown, in particular fix trac
ticket #1243.

11 years agolavfi: decrease logging level of message showing initial parameters
Stefano Sabatini [Sat, 14 Jul 2012 16:26:04 +0000 (18:26 +0200)]
lavfi: decrease logging level of message showing initial parameters

Reduce log clutter, consistent with 1a49a169eb74a97.

11 years agoSimplify ptx decoding on big-endian.
Carl Eugen Hoyos [Sun, 15 Jul 2012 13:04:44 +0000 (15:04 +0200)]
Simplify ptx decoding on big-endian.

Reviewed-by: Reimar Döffinger
11 years agoriff: Assign U263 FourCC to CODEC_ID_H263
Piotr Bandurski [Sun, 15 Jul 2012 12:55:05 +0000 (14:55 +0200)]
riff: Assign U263 FourCC to CODEC_ID_H263

11 years agoisom: add "NO16" FourCC
Piotr Bandurski [Sun, 15 Jul 2012 11:25:47 +0000 (13:25 +0200)]
isom: add "NO16" FourCC

samples:

http://www.datafilehost.com/download-46d9a0fa.html

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoriff: add dvis/pdvc FourCCs
Piotr Bandurski [Sun, 15 Jul 2012 10:49:27 +0000 (12:49 +0200)]
riff: add dvis/pdvc FourCCs

samples:

http://www.datafilehost.com/download-4b49270d.html

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavc: add seperate AVCodec for CODEC_ID_H263P so demuxers can use that id.
Michael Niedermayer [Sun, 15 Jul 2012 11:54:08 +0000 (13:54 +0200)]
lavc: add seperate AVCodec for CODEC_ID_H263P so demuxers can use that id.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoisom: add "MNG" FourCC
Piotr Bandurski [Sat, 14 Jul 2012 16:42:29 +0000 (18:42 +0200)]
isom: add "MNG" FourCC

sample:

http://www.datafilehost.com/download-92da395c.html

Reviewed-by: compn <tempn@twmi.rr.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: Check for CommandLineToArgvW
Ronald S. Bultje [Mon, 25 Jun 2012 05:43:14 +0000 (08:43 +0300)]
configure: Check for CommandLineToArgvW

The actual result of the check isn't used anywhere (since we
use this function unconditionally within #ifdef _WIN32), but it
makes sure we explicitly link to shell32 (which is linked in
implictly on mingw).

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agovc1dec: Do not use random pred_flag if motion vector data is skipped
Mashiat Sarker Shakkhar [Sun, 15 Jul 2012 01:37:10 +0000 (07:37 +0600)]
vc1dec: Do not use random pred_flag if motion vector data is skipped

This fixes SA10143.vc1 from test-suite. Also partially fixes MC-VC1.ts
from videolan streams archive.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agovp8: Enclose pthread function calls in ifdefs
Martin Storsjö [Sat, 14 Jul 2012 21:11:35 +0000 (00:11 +0300)]
vp8: Enclose pthread function calls in ifdefs

This fixes building with threads disabled.

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoexr: make channel_offsets int instead of int8_t
Paul B Mahol [Sat, 14 Jul 2012 22:12:12 +0000 (22:12 +0000)]
exr: make channel_offsets int instead of int8_t

Prior to this change max number of channels for float data which was
going to be correctly decoded was 32, which is rather small
considering that exr allows multiple channel layers.

Signed-off-by: Paul B Mahol <onemda@gmail.com>