]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 26 Jan 2013 14:53:58 +0000 (15:53 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpegvideo_enc: fix indentation in load_input_picture()

Conflicts:
libavcodec/mpegvideo_enc.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '3f47d316cda9037024ffbc76f789332e62b729bc'
Michael Niedermayer [Sat, 26 Jan 2013 14:46:35 +0000 (15:46 +0100)]
Merge commit '3f47d316cda9037024ffbc76f789332e62b729bc'

* commit '3f47d316cda9037024ffbc76f789332e62b729bc':
  mpegvideo_enc: do not modify the input frame.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '7bcaeb408e3eb2d2f37a306009fa7fe7eb0f1d79'
Michael Niedermayer [Sat, 26 Jan 2013 14:42:29 +0000 (15:42 +0100)]
Merge commit '7bcaeb408e3eb2d2f37a306009fa7fe7eb0f1d79'

* commit '7bcaeb408e3eb2d2f37a306009fa7fe7eb0f1d79':
  mjpegdec: fix indentation
  rawdec: cosmetics, reformat
  mimic: return meaningful error codes.

Conflicts:
libavcodec/mjpegdec.c
libavcodec/rawdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'a0cabd0a27587525e90a44660c795d40d2f44fe2'
Michael Niedermayer [Sat, 26 Jan 2013 14:19:48 +0000 (15:19 +0100)]
Merge commit 'a0cabd0a27587525e90a44660c795d40d2f44fe2'

* commit 'a0cabd0a27587525e90a44660c795d40d2f44fe2':
  mimic: cosmetics, reformat
  iff: drop ff_ prefix from a static function.
  pngdec: cosmetics, reformat.
  dxa: return meaningful error codes.
  eatgq: cosmetics, reformat.

Conflicts:
libavcodec/dxa.c
libavcodec/eatgq.c
libavcodec/iff.c
libavcodec/mimic.c
libavcodec/pngdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc/texi2pod: fix warnings introduced in e7e14bc69a606a6bec82efef729263cd38f122d4
Stefano Sabatini [Sat, 26 Jan 2013 14:10:55 +0000 (15:10 +0100)]
doc/texi2pod: fix warnings introduced in e7e14bc69a606a6bec82efef729263cd38f122d4

The variable "$section" was replaced by "$chapter".

11 years agoremove av_strnstr from Changelog
Paul B Mahol [Sat, 26 Jan 2013 14:04:30 +0000 (14:04 +0000)]
remove av_strnstr from Changelog

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge commit 'f337c29017b10c98ccb4dce20efced4c74b665f6'
Michael Niedermayer [Sat, 26 Jan 2013 13:47:08 +0000 (14:47 +0100)]
Merge commit 'f337c29017b10c98ccb4dce20efced4c74b665f6'

* commit 'f337c29017b10c98ccb4dce20efced4c74b665f6':
  eatgq: return meaningful error codes.
  eatgv: cosmetics, reformat

Conflicts:
libavcodec/eatgq.c
libavcodec/eatgv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ade402804a0e811cd00862c90559121a793054a6'
Michael Niedermayer [Sat, 26 Jan 2013 13:39:02 +0000 (14:39 +0100)]
Merge commit 'ade402804a0e811cd00862c90559121a793054a6'

* commit 'ade402804a0e811cd00862c90559121a793054a6':
  eatgv: return meaningful error codes.
  cyuv: return meaningful error codes.
  txd: return meaningful error codes.

Conflicts:
libavcodec/cyuv.c
libavcodec/eatgv.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '69c25c9284645cf5189af2ede42d6f53828f3b45'
Michael Niedermayer [Sat, 26 Jan 2013 13:33:06 +0000 (14:33 +0100)]
Merge commit '69c25c9284645cf5189af2ede42d6f53828f3b45'

* commit '69c25c9284645cf5189af2ede42d6f53828f3b45':
  dnxhdenc: fix invalid reads in dnxhd_mb_var_thread().
  x86: h264qpel: Move stray comment to the right spot and clarify it
  atrac3: use correct loop variable in add_tonal_components()

Conflicts:
tests/ref/vsynth/vsynth1-dnxhd-1080i
tests/ref/vsynth/vsynth2-dnxhd-1080i

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'ded3673d77943c376d94e8157b1238bbd1eeca2d'
Michael Niedermayer [Sat, 26 Jan 2013 13:18:48 +0000 (14:18 +0100)]
Merge commit 'ded3673d77943c376d94e8157b1238bbd1eeca2d'

* commit 'ded3673d77943c376d94e8157b1238bbd1eeca2d':
  doc: document libx264 options and mappings
  libx264: introduce -x264-params private option

Conflicts:
doc/encoders.texi

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '38c1466ca41c73c7ce347da702362cb69c151716'
Michael Niedermayer [Sat, 26 Jan 2013 12:34:30 +0000 (13:34 +0100)]
Merge commit '38c1466ca41c73c7ce347da702362cb69c151716'

* commit '38c1466ca41c73c7ce347da702362cb69c151716':
  dict: add av_dict_parse_string()
  doc: support multitable in texi2pod

Conflicts:
doc/APIchanges
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agompegvideo_enc: fix indentation in load_input_picture()
Anton Khirnov [Mon, 7 Jan 2013 06:46:01 +0000 (07:46 +0100)]
mpegvideo_enc: fix indentation in load_input_picture()

11 years agompegvideo_enc: do not modify the input frame.
Anton Khirnov [Mon, 7 Jan 2013 06:07:20 +0000 (07:07 +0100)]
mpegvideo_enc: do not modify the input frame.

11 years agomjpegdec: fix indentation
Anton Khirnov [Sun, 6 Jan 2013 15:50:29 +0000 (16:50 +0100)]
mjpegdec: fix indentation

11 years agorawdec: cosmetics, reformat
Anton Khirnov [Thu, 3 Jan 2013 16:02:38 +0000 (17:02 +0100)]
rawdec: cosmetics, reformat

11 years agomimic: return meaningful error codes.
Anton Khirnov [Wed, 26 Dec 2012 09:35:16 +0000 (10:35 +0100)]
mimic: return meaningful error codes.

11 years agomimic: cosmetics, reformat
Anton Khirnov [Wed, 26 Dec 2012 09:11:12 +0000 (10:11 +0100)]
mimic: cosmetics, reformat

11 years agoiff: drop ff_ prefix from a static function.
Anton Khirnov [Sat, 8 Dec 2012 14:20:46 +0000 (15:20 +0100)]
iff: drop ff_ prefix from a static function.

11 years agopngdec: cosmetics, reformat.
Anton Khirnov [Sat, 8 Dec 2012 11:58:46 +0000 (12:58 +0100)]
pngdec: cosmetics, reformat.

Also remove a commented out line.

11 years agodxa: return meaningful error codes.
Anton Khirnov [Fri, 16 Nov 2012 13:02:08 +0000 (14:02 +0100)]
dxa: return meaningful error codes.

11 years agoeatgq: cosmetics, reformat.
Anton Khirnov [Wed, 21 Nov 2012 18:26:41 +0000 (19:26 +0100)]
eatgq: cosmetics, reformat.

11 years agolavc/iff: ilbm: unbreak decoding on big endian
Paul B Mahol [Sat, 26 Jan 2013 11:58:36 +0000 (11:58 +0000)]
lavc/iff: ilbm: unbreak decoding on big endian

Fixes #2192.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoeatgq: return meaningful error codes.
Anton Khirnov [Wed, 21 Nov 2012 18:20:21 +0000 (19:20 +0100)]
eatgq: return meaningful error codes.

11 years agoeatgv: cosmetics, reformat
Anton Khirnov [Wed, 21 Nov 2012 13:52:54 +0000 (14:52 +0100)]
eatgv: cosmetics, reformat

11 years agoeatgv: return meaningful error codes.
Anton Khirnov [Wed, 21 Nov 2012 09:26:55 +0000 (10:26 +0100)]
eatgv: return meaningful error codes.

11 years agocyuv: return meaningful error codes.
Anton Khirnov [Tue, 20 Nov 2012 11:10:13 +0000 (12:10 +0100)]
cyuv: return meaningful error codes.

11 years agotxd: return meaningful error codes.
Anton Khirnov [Tue, 20 Nov 2012 06:48:01 +0000 (07:48 +0100)]
txd: return meaningful error codes.

11 years agolavfi/vf_drawtext: default to expansion=normal.
Nicolas George [Thu, 17 Jan 2013 11:17:35 +0000 (12:17 +0100)]
lavfi/vf_drawtext: default to expansion=normal.

11 years agodnxhdenc: fix invalid reads in dnxhd_mb_var_thread().
Anton Khirnov [Tue, 22 Jan 2013 10:55:54 +0000 (11:55 +0100)]
dnxhdenc: fix invalid reads in dnxhd_mb_var_thread().

Do not assume that frame dimensions are mod16 (or that height is mod32
for interlaced).

CC:libav-stable@libav.org

11 years agofate: add an attachment to the Matroska test.
Nicolas George [Tue, 1 Jan 2013 11:08:32 +0000 (12:08 +0100)]
fate: add an attachment to the Matroska test.

11 years agolavfi: version bump and change log entries after the last commits.
Nicolas George [Sat, 26 Jan 2013 10:25:21 +0000 (11:25 +0100)]
lavfi: version bump and change log entries after the last commits.

11 years agox86: h264qpel: Move stray comment to the right spot and clarify it
Diego Biurrun [Thu, 24 Jan 2013 16:01:32 +0000 (17:01 +0100)]
x86: h264qpel: Move stray comment to the right spot and clarify it

11 years agoffmpeg: support filtering of unknown channel layouts.
Nicolas George [Wed, 26 Dec 2012 15:53:02 +0000 (16:53 +0100)]
ffmpeg: support filtering of unknown channel layouts.

11 years agolavfi/af_anull: accept unknown channel layouts.
Nicolas George [Wed, 26 Dec 2012 15:52:15 +0000 (16:52 +0100)]
lavfi/af_anull: accept unknown channel layouts.

11 years agolavfi/af_aresample: accept unknown channel layouts.
Nicolas George [Wed, 26 Dec 2012 15:51:50 +0000 (16:51 +0100)]
lavfi/af_aresample: accept unknown channel layouts.

11 years agolavfi/af_aformat: accept unknown channel layouts.
Nicolas George [Wed, 26 Dec 2012 15:51:26 +0000 (16:51 +0100)]
lavfi/af_aformat: accept unknown channel layouts.

11 years agolavfi/buffersrc: accept unknown channel layouts.
Nicolas George [Wed, 26 Dec 2012 15:50:57 +0000 (16:50 +0100)]
lavfi/buffersrc: accept unknown channel layouts.

11 years agolavfi/sink_buffer: accept unknown channel layouts.
Nicolas George [Wed, 26 Dec 2012 15:49:16 +0000 (16:49 +0100)]
lavfi/sink_buffer: accept unknown channel layouts.

Add a field to the AVBufferSinkParams for a list of accepted
channel counts.
Change the default value for the lists in AVBufferSinkParams
to NULL, to let lavfi fill them with something useful.
The fail_enomem path is unneeded because filters are uninited
on failure.

11 years agolavfi: implement ff_query_formats_all().
Nicolas George [Wed, 26 Dec 2012 15:47:18 +0000 (16:47 +0100)]
lavfi: implement ff_query_formats_all().

11 years agolavfi: implement ff_all_channel_counts().
Nicolas George [Wed, 26 Dec 2012 15:46:43 +0000 (16:46 +0100)]
lavfi: implement ff_all_channel_counts().

11 years agolavfi: support unknown channel layouts.
Nicolas George [Wed, 2 Jan 2013 14:11:30 +0000 (15:11 +0100)]
lavfi: support unknown channel layouts.

11 years agoffmpeg: add -guess_layout_max option.
Nicolas George [Mon, 31 Dec 2012 14:20:25 +0000 (15:20 +0100)]
ffmpeg: add -guess_layout_max option.

11 years agolavc/gif: remove some obsolete/irrelevant chunks
Paul B Mahol [Fri, 25 Jan 2013 17:05:29 +0000 (17:05 +0000)]
lavc/gif: remove some obsolete/irrelevant chunks

Some code was copy pasted from muxer, which still
have same comments but unlike encoder they are still
relevant to muxer.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavf/gifdec: cosmetics: remove extra whitespace
Paul B Mahol [Fri, 25 Jan 2013 16:41:51 +0000 (16:41 +0000)]
lavf/gifdec: cosmetics: remove extra whitespace

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavf/gifdec: fix typo
Paul B Mahol [Fri, 25 Jan 2013 16:37:03 +0000 (16:37 +0000)]
lavf/gifdec: fix typo

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agosws: GBRP9, GBRP10 GBRP12 GBRP14 output support
Michael Niedermayer [Fri, 25 Jan 2013 22:05:48 +0000 (23:05 +0100)]
sws: GBRP9, GBRP10 GBRP12 GBRP14 output support

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosws: GBRP output support
Michael Niedermayer [Fri, 25 Jan 2013 20:51:25 +0000 (21:51 +0100)]
sws: GBRP output support

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoatrac3: fix buffer size for get_bits.
Michael Niedermayer [Sat, 26 Jan 2013 03:27:23 +0000 (04:27 +0100)]
atrac3: fix buffer size for get_bits.

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoindeo4: check for invalid transform_size blk_size combinations
Michael Niedermayer [Sat, 26 Jan 2013 02:17:19 +0000 (03:17 +0100)]
indeo4: check for invalid transform_size blk_size combinations

The checks existing previously where not sufficient
Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago4xm: remove avcodec_get_frame_defaults() calls
Michael Niedermayer [Sat, 26 Jan 2013 01:07:44 +0000 (02:07 +0100)]
4xm: remove avcodec_get_frame_defaults() calls

They are not needed anymore

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago4xm: add assert to check that the pointer from read_huffman_tables is within the...
Michael Niedermayer [Sat, 26 Jan 2013 01:05:32 +0000 (02:05 +0100)]
4xm: add assert to check that the pointer from read_huffman_tables is within the array

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years ago4xm: Check available space in read_huffman_tables()
Michael Niedermayer [Sat, 26 Jan 2013 01:03:05 +0000 (02:03 +0100)]
4xm: Check available space in read_huffman_tables()

Fixes integer overflow and out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoFix atrac3 decoder broken in e55d53905f34f8e8747f6d321e9a695dc02ebb2f
Michael Karcher [Fri, 25 Jan 2013 19:44:50 +0000 (20:44 +0100)]
Fix atrac3 decoder broken in e55d53905f34f8e8747f6d321e9a695dc02ebb2f

Signed-off-by: Michael Karcher <ffmpeg@mkarcher.dialup.fu-berlin.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffv1enc: fix gbrp>8bit
Michael Niedermayer [Fri, 25 Jan 2013 22:09:59 +0000 (23:09 +0100)]
ffv1enc: fix gbrp>8bit

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoatrac3: use correct loop variable in add_tonal_components()
Michael Karcher [Fri, 25 Jan 2013 20:03:53 +0000 (15:03 -0500)]
atrac3: use correct loop variable in add_tonal_components()

Signed-off-by: Michael Karcher <ffmpeg@mkarcher.dialup.fu-berlin.de>
Signed-off-by: Justin Ruggles <justin.ruggles@gmail.com>
CC:libav-stable@libav.org

11 years agolavfi/showwaves: fail in case of push_frame() error
Stefano Sabatini [Tue, 22 Jan 2013 20:11:23 +0000 (21:11 +0100)]
lavfi/showwaves: fail in case of push_frame() error

11 years agodoc/filters: apply minor fixes
Stefano Sabatini [Fri, 25 Jan 2013 16:45:27 +0000 (17:45 +0100)]
doc/filters: apply minor fixes

11 years agolavfi/showwaves: add display mode option and mode=line
Stefano Sabatini [Tue, 22 Jan 2013 11:11:36 +0000 (12:11 +0100)]
lavfi/showwaves: add display mode option and mode=line

11 years agogifdec: resync support
Michael Niedermayer [Mon, 21 Jan 2013 17:52:01 +0000 (18:52 +0100)]
gifdec: resync support

This allows decoding gifs that have junk at the begin
and also allows byte wise seeking

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodoc: document libx264 options and mappings
Luca Barbato [Wed, 23 Jan 2013 07:28:47 +0000 (08:28 +0100)]
doc: document libx264 options and mappings

11 years agodict: add av_dict_parse_string()
Justin Ruggles [Wed, 2 Jan 2013 21:04:23 +0000 (21:04 +0000)]
dict: add av_dict_parse_string()

Can be used to set multiple key/value pairs from a string.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agolibx264: introduce -x264-params private option
Gavriloaie Eugen-Andrei [Wed, 23 Jan 2013 07:21:55 +0000 (08:21 +0100)]
libx264: introduce -x264-params private option

It is a shortcut to set all the params using x264_param_parse,
makes simpler importing settings from other software using x264.

11 years agolavc/dnxhddata: fix bitrates for cid 1251 and 1252 in cid table
Matthieu Bouron [Mon, 21 Jan 2013 20:14:13 +0000 (21:14 +0100)]
lavc/dnxhddata: fix bitrates for cid 1251 and 1252 in cid table

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agosetpts: deprecate RTCTIME, we have time(0) which is more generic
Michael Niedermayer [Fri, 25 Jan 2013 14:14:33 +0000 (15:14 +0100)]
setpts: deprecate RTCTIME, we have time(0) which is more generic

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 25 Jan 2013 14:04:41 +0000 (15:04 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  avfilter: allow setpts filter to use wallclock time for calculations

Conflicts:
doc/filters.texi

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'b85a5e87af4254b80913fe33591d96361f30832b'
Michael Niedermayer [Fri, 25 Jan 2013 13:36:45 +0000 (14:36 +0100)]
Merge commit 'b85a5e87af4254b80913fe33591d96361f30832b'

* commit 'b85a5e87af4254b80913fe33591d96361f30832b':
  lavu: Add av_strnstr()
  h264: Allow discarding the cropping information from SPS

Conflicts:
Changelog
doc/APIchanges
libavcodec/avcodec.h
libavcodec/version.h
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '33552a5f7b6ec7057516f487b1a902331f8c353e'
Michael Niedermayer [Fri, 25 Jan 2013 13:24:38 +0000 (14:24 +0100)]
Merge commit '33552a5f7b6ec7057516f487b1a902331f8c353e'

* commit '33552a5f7b6ec7057516f487b1a902331f8c353e':
  arm: Add mathops.h to ARCH_HEADERS list
  avstring: K&R formatting cosmetics

Conflicts:
libavutil/avstring.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '2c10e2a2f62477efaef5b641974594f7df4ca339'
Michael Niedermayer [Fri, 25 Jan 2013 13:14:21 +0000 (14:14 +0100)]
Merge commit '2c10e2a2f62477efaef5b641974594f7df4ca339'

* commit '2c10e2a2f62477efaef5b641974594f7df4ca339':
  build: Make the H.264 parser select h264qpel
  x86: h264qpel: add cpu flag checks for init function

Conflicts:
libavcodec/x86/h264_qpel.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoswscale: check flags instead of nb_components to find if pixel format have alpha
Paul B Mahol [Thu, 24 Jan 2013 17:32:37 +0000 (17:32 +0000)]
swscale: check flags instead of nb_components to find if pixel format have alpha

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agodoc: support multitable in texi2pod
Luca Barbato [Wed, 23 Jan 2013 10:43:37 +0000 (11:43 +0100)]
doc: support multitable in texi2pod

11 years agolavc/gifdec: remove obsolete check
Paul B Mahol [Fri, 25 Jan 2013 12:50:11 +0000 (12:50 +0000)]
lavc/gifdec: remove obsolete check

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavc/gifdec: move idx_line allocation out of gif_read_header1()
Paul B Mahol [Fri, 25 Jan 2013 12:46:57 +0000 (12:46 +0000)]
lavc/gifdec: move idx_line allocation out of gif_read_header1()

Now allocation is done only if av_image_check_size() passes.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavc/gifdec: do not return nonzero *got_frame if frame is not passed
Paul B Mahol [Fri, 25 Jan 2013 12:15:13 +0000 (12:15 +0000)]
lavc/gifdec: do not return nonzero *got_frame if frame is not passed

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavc/gifdec: simplify "!= 0" checks
Paul B Mahol [Fri, 25 Jan 2013 12:13:17 +0000 (12:13 +0000)]
lavc/gifdec: simplify "!= 0" checks

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agolavc/gifdec: use memcpy()
Paul B Mahol [Fri, 25 Jan 2013 11:51:16 +0000 (11:51 +0000)]
lavc/gifdec: use memcpy()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge commit '6bdb841b46d170d58488deaed720729b79223b1d'
Michael Niedermayer [Fri, 25 Jan 2013 12:41:53 +0000 (13:41 +0100)]
Merge commit '6bdb841b46d170d58488deaed720729b79223b1d'

* commit '6bdb841b46d170d58488deaed720729b79223b1d':
  arm: h264qpel: use neon h264 qpel functions only if supported

* bug was fixed previously (in merge of buggy code):
  h264: copy h264qpel dsp context to slice thread copies

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter: allow setpts filter to use wallclock time for calculations
Vladimir Pantelic [Wed, 23 Jan 2013 12:54:08 +0000 (13:54 +0100)]
avfilter: allow setpts filter to use wallclock time for calculations

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agolavu: Add av_strnstr()
Vladimir Pantelic [Thu, 24 Jan 2013 14:09:48 +0000 (14:09 +0000)]
lavu: Add av_strnstr()

This is a length limited version of strstr()

Signed-off-by: Vladimir Pantelic <vladoman@gmail.com>
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agoh264: Allow discarding the cropping information from SPS
Vittorio Giovara [Wed, 23 Jan 2013 11:26:59 +0000 (12:26 +0100)]
h264: Allow discarding the cropping information from SPS

Some 3D systems overload the meaning of the field for other purposes.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
11 years agovqavideo: check chunk sizes before reading chunks
Michael Niedermayer [Fri, 25 Jan 2013 05:11:59 +0000 (06:11 +0100)]
vqavideo: check chunk sizes before reading chunks

Fixes out of array writes

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoeacmv: Free frames on resolution changes
Michael Niedermayer [Thu, 24 Jan 2013 23:41:16 +0000 (00:41 +0100)]
eacmv: Free frames on resolution changes

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agogifdec: check that w,h is not zero
Michael Niedermayer [Thu, 24 Jan 2013 23:03:59 +0000 (00:03 +0100)]
gifdec: check that w,h is not zero

Fixes out of array access

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoFix compilation with --disable-everything on x86_32.
Carl Eugen Hoyos [Fri, 25 Jan 2013 02:04:46 +0000 (03:04 +0100)]
Fix compilation with --disable-everything on x86_32.

Fixes ticket #2183.

11 years agoffmpeg: fix typo in open_files() message
Stefano Sabatini [Thu, 24 Jan 2013 23:44:28 +0000 (00:44 +0100)]
ffmpeg: fix typo in open_files() message

Found-By: Justin Ruggles
11 years agolavf/img2enc: extend current options documentation
Stefano Sabatini [Thu, 24 Jan 2013 15:37:49 +0000 (16:37 +0100)]
lavf/img2enc: extend current options documentation

11 years agolavf/img2dec: fix option help fields
Stefano Sabatini [Thu, 24 Jan 2013 14:28:07 +0000 (15:28 +0100)]
lavf/img2dec: fix option help fields

11 years agodoc/faq: fill missing word in the concat protocol entry
Stefano Sabatini [Thu, 24 Jan 2013 13:04:59 +0000 (14:04 +0100)]
doc/faq: fill missing word in the concat protocol entry

11 years agodoc/faq: mention concat protocol documentation in the protocol concatenation entry
Stefano Sabatini [Thu, 24 Jan 2013 13:03:46 +0000 (14:03 +0100)]
doc/faq: mention concat protocol documentation in the protocol concatenation entry

11 years agogifdec: gif_copy_img_rect: Fix end pointer
Michael Niedermayer [Thu, 24 Jan 2013 22:11:10 +0000 (23:11 +0100)]
gifdec: gif_copy_img_rect: Fix end pointer

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264_qpel: put cpuflags checks back.
Michael Niedermayer [Thu, 24 Jan 2013 21:14:39 +0000 (22:14 +0100)]
h264_qpel: put cpuflags checks back.

These where lost when libav moved the code out of dsputil

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocavsdec: check for value in get_ue_code()
Michael Niedermayer [Thu, 24 Jan 2013 20:55:12 +0000 (21:55 +0100)]
cavsdec: check for value in get_ue_code()

Fixes integer overflow and prints an error in case the value is
invalid.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavu/timecode: fix time code calculation for 60000/1001 drop frame
Jason [Tue, 22 Jan 2013 19:47:58 +0000 (14:47 -0500)]
lavu/timecode: fix time code calculation for 60000/1001 drop frame

Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavu/timecode: Allow drop frame mode for 60000/1001 fps
Jason [Tue, 22 Jan 2013 17:31:46 +0000 (12:31 -0500)]
lavu/timecode: Allow drop frame mode for 60000/1001 fps

Reviewed-by: Matthieu Bouron <matthieu.bouron@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoarm: Add mathops.h to ARCH_HEADERS list
Diego Biurrun [Mon, 21 Jan 2013 09:16:03 +0000 (10:16 +0100)]
arm: Add mathops.h to ARCH_HEADERS list

It is an arch-specific header not suitable for standalone compilation.

11 years agoavstring: K&R formatting cosmetics
Luca Barbato [Thu, 24 Jan 2013 18:00:57 +0000 (19:00 +0100)]
avstring: K&R formatting cosmetics

Signed-off-by: Diego Biurrun <diego@biurrun.de>
11 years agobuild: Make the H.264 parser select h264qpel
Diego Biurrun [Thu, 24 Jan 2013 16:47:03 +0000 (17:47 +0100)]
build: Make the H.264 parser select h264qpel

It is required for building the shared H.264 code.

11 years agox86: h264qpel: add cpu flag checks for init function
Janne Grunau [Thu, 24 Jan 2013 17:39:10 +0000 (18:39 +0100)]
x86: h264qpel: add cpu flag checks for init function

The code was copied from per cpu extension init function so the checks
for supported extensions was overlooked.

11 years agomovenc: check that fps for tmcd is within encodable range.
Michael Niedermayer [Thu, 17 Jan 2013 17:52:35 +0000 (18:52 +0100)]
movenc: check that fps for tmcd is within encodable range.

The fps is stored as a 8 bit value thus 255 is the maximum encodable.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomovenc: Calculate fps for tmcd without intermediate step.
Michael Niedermayer [Thu, 17 Jan 2013 17:51:49 +0000 (18:51 +0100)]
movenc: Calculate fps for tmcd without intermediate step.

Fixes part of Ticket2045

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: copy tmcd track timebase parameters
Michael Niedermayer [Thu, 17 Jan 2013 17:49:46 +0000 (18:49 +0100)]
ffmpeg: copy tmcd track timebase parameters

Fixes part of Ticket2045

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