ffmpeg.git
6 years agoMerge back some registering macros in all*.c.
Clément Bœsch [Sun, 30 Dec 2012 06:17:33 +0000 (07:17 +0100)]
Merge back some registering macros in all*.c.

This breaks the sed in configure:find_things(). Fixes regression from
c73c87b. Fixes Ticket2079.

Found-by: jamal
6 years agolavc/ass_split: check for NULL pointer in ff_ass_split_override_codes().
Clément Bœsch [Sun, 30 Dec 2012 05:53:48 +0000 (06:53 +0100)]
lavc/ass_split: check for NULL pointer in ff_ass_split_override_codes().

This is consistent with the other ff_ass_split_* functions.

It also fixes a crash when trying to split a dialog with text=NULL
(which seems to happen when the text of the dialog is empty); basically,
this commit fixes crashes when trying to encode an empty text subtitle
dialog (see subrip and mov_text encoders).

Fixes Ticket2048.

6 years agoaacdec: make dual mono mode selectable through AVOptions too.
Michael Niedermayer [Sun, 30 Dec 2012 04:07:12 +0000 (05:07 +0100)]
aacdec: make dual mono mode selectable through AVOptions too.

Based on patch by Akihiro Tsukada

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoaacdec: simplify dmono
Michael Niedermayer [Sun, 30 Dec 2012 03:55:14 +0000 (04:55 +0100)]
aacdec: simplify dmono

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoaacdec: fix dual mono
Michael Niedermayer [Sun, 30 Dec 2012 03:43:44 +0000 (04:43 +0100)]
aacdec: fix dual mono

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agobuild: postproc cleanup.
Clément Bœsch [Mon, 24 Dec 2012 05:08:07 +0000 (06:08 +0100)]
build: postproc cleanup.

This reverts 79f80f5c, moves postproc along with the other libraries,
and fix the postproc dependency to libavutil.

6 years agosws: fix warning: cast from pointer to integer of different size
Michael Niedermayer [Sat, 29 Dec 2012 19:50:43 +0000 (20:50 +0100)]
sws: fix warning: cast from pointer to integer of different size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovf_deshake: fix strict aliassing errors
Michael Niedermayer [Sat, 29 Dec 2012 19:00:48 +0000 (20:00 +0100)]
vf_deshake: fix strict aliassing errors

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswscale: fix warning: assignment from incompatible pointer type
Michael Niedermayer [Sat, 29 Dec 2012 18:39:14 +0000 (19:39 +0100)]
swscale: fix warning: assignment from incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomotion_est_template: fix warning: "ASSERT_LEVEL" is not defined
Michael Niedermayer [Sat, 29 Dec 2012 18:37:20 +0000 (19:37 +0100)]
motion_est_template: fix warning: "ASSERT_LEVEL" is not defined
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agobktr: fix warning: missing braces around initializer
Michael Niedermayer [Sat, 29 Dec 2012 18:27:07 +0000 (19:27 +0100)]
bktr: fix warning: missing braces around initializer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoFix OS/2 threading
Dave Yeo [Sat, 29 Dec 2012 01:53:43 +0000 (17:53 -0800)]
Fix OS/2 threading

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavf_concat: init pointers to NULL for saftey and to avoid warning of uninitialized...
Michael Niedermayer [Sat, 29 Dec 2012 02:20:37 +0000 (03:20 +0100)]
avf_concat: init pointers to NULL for saftey and to avoid warning of uninitialized use.

Reviewed-by: Nicolas George <nicolas.george@normalesup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agowavdec: fix duration calculation for files with invalid data size
James Almer [Thu, 27 Dec 2012 22:30:40 +0000 (19:30 -0300)]
wavdec: fix duration calculation for files with invalid data size

Some wav files report a data size that is bigger than the actual file size.
Fall back to estimation from bitrate in such cases.

Fixes ticket #2065.

Signed-off-by: James Almer <jamrial@gmail.com>
6 years agolavfi: replace REGISTER_BUILTIN_FILTER() by REGISTER_FILTER_UNCONDITIONAL()
Michael Niedermayer [Sat, 29 Dec 2012 14:37:05 +0000 (15:37 +0100)]
lavfi: replace REGISTER_BUILTIN_FILTER() by REGISTER_FILTER_UNCONDITIONAL()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Sat, 29 Dec 2012 13:27:38 +0000 (14:27 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  cosmetics: Prettyprint codec/format/filter registration files

Conflicts:
libavcodec/allcodecs.c
libavdevice/alldevices.c
libavfilter/allfilters.c
libavformat/allformats.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge commit '69583bd3b1eba471366141c945030c163e073e02'
Michael Niedermayer [Sat, 29 Dec 2012 12:05:37 +0000 (13:05 +0100)]
Merge commit '69583bd3b1eba471366141c945030c163e073e02'

* commit '69583bd3b1eba471366141c945030c163e073e02':
  avfilter: Refactor unconditional filter registration
  build: Add rtpenc_chain extra config option
  configure: Add --disable-all command line option

Conflicts:
libavfilter/allfilters.c
libavformat/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Sat, 29 Dec 2012 03:34:23 +0000 (04:34 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: fix type of time_diff in waveform display
  ffplay: always display audio visualization if mode is set
  ffplay: hide cursor on no mouse movement
  ffplay: reset external clock to unknown on start
  ffplay: only drop frames if not in frame step mode
  ffplay: move frame step pause from the video thread to video_refresh

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoxtea: fix unused variable warning for config_small
Michael Niedermayer [Sat, 29 Dec 2012 02:37:46 +0000 (03:37 +0100)]
xtea: fix unused variable warning for config_small

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomsmpeg4enc: fix possible use of uninitialized warning
Michael Niedermayer [Sat, 29 Dec 2012 02:06:08 +0000 (03:06 +0100)]
msmpeg4enc: fix possible use of uninitialized warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agohpel_motion_search: move code used for asserts under correct #if
Michael Niedermayer [Sat, 29 Dec 2012 01:51:51 +0000 (02:51 +0100)]
hpel_motion_search: move code used for asserts under correct #if

This avoids compiler warnings about set but not used variables

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoivi_common: Fix use of uninitialized warnings
Michael Niedermayer [Sat, 29 Dec 2012 01:44:43 +0000 (02:44 +0100)]
ivi_common: Fix use of uninitialized warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoavs: silence "may be used uninitialized" warnings
Michael Niedermayer [Sat, 29 Dec 2012 01:42:30 +0000 (02:42 +0100)]
avs: silence "may be used uninitialized" warnings

We initialize the struct to 0 to also ensure any actual use of
the pointers in it will not lead to security issues.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agommfenc: use ff_raw_write_packet()
Paul B Mahol [Fri, 28 Dec 2012 22:18:48 +0000 (22:18 +0000)]
mmfenc: use ff_raw_write_packet()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoaiffenc: use ff_raw_write_packet()
Paul B Mahol [Fri, 28 Dec 2012 22:06:39 +0000 (22:06 +0000)]
aiffenc: use ff_raw_write_packet()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agosoxenc: use ff_raw_write_packet()
Paul B Mahol [Fri, 28 Dec 2012 21:57:01 +0000 (21:57 +0000)]
soxenc: use ff_raw_write_packet()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agosoxdec: use meaningful error codes
Paul B Mahol [Fri, 28 Dec 2012 21:50:42 +0000 (21:50 +0000)]
soxdec: use meaningful error codes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agosoxenc: use ffio_fill
Paul B Mahol [Fri, 28 Dec 2012 21:47:47 +0000 (21:47 +0000)]
soxenc: use ffio_fill

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agosoxenc: use FFALIGN
Paul B Mahol [Fri, 28 Dec 2012 21:36:03 +0000 (21:36 +0000)]
soxenc: use FFALIGN

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agoh264: avoid a grayscale related if() in hl_decode_mb()
Michael Niedermayer [Fri, 28 Dec 2012 19:38:41 +0000 (20:38 +0100)]
h264: avoid a grayscale related if() in hl_decode_mb()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffplay: fix type of time_diff in waveform display
Marton Balint [Tue, 25 Dec 2012 23:26:59 +0000 (00:26 +0100)]
ffplay: fix type of time_diff in waveform display

Fixes time diff overflow visible as showing the same few waveforms in a loop at
the end of file.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agoffplay: always display audio visualization if mode is set
Marton Balint [Tue, 25 Dec 2012 23:06:19 +0000 (00:06 +0100)]
ffplay: always display audio visualization if mode is set

Fixes ticket #1903.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agoffplay: hide cursor on no mouse movement
Marton Balint [Sat, 1 Dec 2012 01:27:29 +0000 (02:27 +0100)]
ffplay: hide cursor on no mouse movement

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agoffplay: reset external clock to unknown on start
Marton Balint [Thu, 20 Dec 2012 23:32:18 +0000 (00:32 +0100)]
ffplay: reset external clock to unknown on start

Fixes a delay and initial frame drops on starting realtime streams with
external clock.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agoffplay: only drop frames if not in frame step mode
Marton Balint [Wed, 26 Dec 2012 18:53:58 +0000 (19:53 +0100)]
ffplay: only drop frames if not in frame step mode

Fixes ticket #2053.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agoffplay: move frame step pause from the video thread to video_refresh
Marton Balint [Tue, 25 Dec 2012 21:35:53 +0000 (22:35 +0100)]
ffplay: move frame step pause from the video thread to video_refresh

This way we pause the video right after we displayed a new frame. Partially
fixes ticket #2053.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agocosmetics: Prettyprint codec/format/filter registration files
Diego Biurrun [Tue, 25 Dec 2012 14:29:39 +0000 (15:29 +0100)]
cosmetics: Prettyprint codec/format/filter registration files

6 years agoavfilter: Refactor unconditional filter registration
Diego Biurrun [Sun, 23 Dec 2012 18:06:35 +0000 (19:06 +0100)]
avfilter: Refactor unconditional filter registration

6 years agobuild: Add rtpenc_chain extra config option
Diego Biurrun [Thu, 29 Nov 2012 09:34:54 +0000 (10:34 +0100)]
build: Add rtpenc_chain extra config option

Also fixes linking in various configs with only individual parts enabled
because the RTP muxer chaining code depends on the general RTP code,
which is now accounted for.

6 years agoconfigure: Add --disable-all command line option
Diego Biurrun [Sat, 10 Nov 2012 13:47:52 +0000 (14:47 +0100)]
configure: Add --disable-all command line option

This option disables all programs, libraries and other parts of Libav
that get built as part of the compilation process.

6 years agoauenc: do not write invalid file size
Paul B Mahol [Fri, 28 Dec 2012 13:21:36 +0000 (13:21 +0000)]
auenc: do not write invalid file size

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agovf_divtc: dont mix av_strdup and free
Michael Niedermayer [Fri, 28 Dec 2012 16:05:19 +0000 (17:05 +0100)]
vf_divtc: dont mix av_strdup and free

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovf_detc: dont mix av_strdup & free
Michael Niedermayer [Fri, 28 Dec 2012 16:04:54 +0000 (17:04 +0100)]
vf_detc: dont mix av_strdup & free

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovf_mp: fix 'discards const qualifier from pointer target type'
Michael Niedermayer [Fri, 28 Dec 2012 16:00:01 +0000 (17:00 +0100)]
vf_mp: fix 'discards const qualifier from pointer target type'

args are not supposed to be changed by filters even if the argument is
not marked as const.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibavutil/samplefmt: Fix project name
Michael Niedermayer [Fri, 28 Dec 2012 12:55:58 +0000 (13:55 +0100)]
libavutil/samplefmt: Fix project name

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMAINTAINERS: s/mjpeg.c/mjpeg*.c/
Michael Niedermayer [Fri, 28 Dec 2012 11:56:24 +0000 (12:56 +0100)]
MAINTAINERS: s/mjpeg.c/mjpeg*.c/

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavf/segment: add segment_frames option
Stefano Sabatini [Sun, 9 Dec 2012 19:26:30 +0000 (20:26 +0100)]
lavf/segment: add segment_frames option

This is meant to address trac ticket #1483.

6 years agolavf/segment: add reference_stream option
Stefano Sabatini [Sat, 22 Dec 2012 20:49:06 +0000 (21:49 +0100)]
lavf/segment: add reference_stream option

6 years agolibpostproc: alloc a few bytes more in the temporary buffer
Michael Niedermayer [Fri, 28 Dec 2012 01:47:25 +0000 (02:47 +0100)]
libpostproc: alloc a few bytes more in the temporary buffer

This avoids dering reading 4 bytes prior the buffer (1 byte can
be used)

Fixes Ticket2057

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolibpostproc: Fix off by 1 error in the C dering code
Michael Niedermayer [Fri, 28 Dec 2012 00:48:40 +0000 (01:48 +0100)]
libpostproc: Fix off by 1 error in the C dering code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomjpegdec: Support 16bit DQT
Michael Niedermayer [Thu, 27 Dec 2012 22:16:54 +0000 (23:16 +0100)]
mjpegdec: Support 16bit DQT

Fixes Ticket2072

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agobuild: fix g723_1 decoder dependency
Paul B Mahol [Thu, 27 Dec 2012 18:20:54 +0000 (18:20 +0000)]
build: fix g723_1 decoder dependency

g723_1 decoder needs celp_math.o because it calls ff_dot_product().

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agogifdec: fix transparent background color
Don Moir [Thu, 27 Dec 2012 18:06:49 +0000 (18:06 +0000)]
gifdec: fix transparent background color

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agomjpegdec: reset restart_count on progressive scans
Michael Niedermayer [Thu, 27 Dec 2012 16:39:10 +0000 (17:39 +0100)]
mjpegdec: reset restart_count on progressive scans

Fixes Ticket2068

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/encoders: clarify the direction of the quality setting parameters for libtheora
Stefano Sabatini [Wed, 26 Dec 2012 23:56:47 +0000 (00:56 +0100)]
doc/encoders: clarify the direction of the quality setting parameters for libtheora

6 years agodoc/ffmpeg-formats: extend documentation for the probesize parameter
Stefano Sabatini [Wed, 26 Dec 2012 16:42:45 +0000 (17:42 +0100)]
doc/ffmpeg-formats: extend documentation for the probesize parameter

6 years agoffmpeg: remove annoying logs and improve reporting in case of unavailable bitrate
Stefano Sabatini [Sat, 22 Dec 2012 23:19:11 +0000 (00:19 +0100)]
ffmpeg: remove annoying logs and improve reporting in case of unavailable bitrate

6 years agoMAINTAINERS: add libswresample
Michael Niedermayer [Thu, 27 Dec 2012 11:15:59 +0000 (12:15 +0100)]
MAINTAINERS: add libswresample

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodocs: add soxr documentation
Rob Sykes [Thu, 27 Dec 2012 11:07:15 +0000 (12:07 +0100)]
docs: add soxr documentation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosoxr_resample: soxr API parameter rename
Rob Sykes [Thu, 27 Dec 2012 10:59:55 +0000 (11:59 +0100)]
soxr_resample: soxr API parameter rename

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agosoxr_resample: Correct email address
Rob Sykes [Thu, 27 Dec 2012 10:57:32 +0000 (11:57 +0100)]
soxr_resample: Correct email address

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/tile: small align cosmetics.
Clément Bœsch [Wed, 26 Dec 2012 20:32:38 +0000 (21:32 +0100)]
lavfi/tile: small align cosmetics.

6 years agolavfi/tile: remove usage of link->{cur,out}_buf.
Clément Bœsch [Wed, 26 Dec 2012 19:19:30 +0000 (20:19 +0100)]
lavfi/tile: remove usage of link->{cur,out}_buf.

6 years agolavfi/scale: remove usage of link->cur_buf.
Clément Bœsch [Wed, 26 Dec 2012 19:00:10 +0000 (20:00 +0100)]
lavfi/scale: remove usage of link->cur_buf.

6 years agolavfi/deshake: remove usage of link->cur_buf.
Clément Bœsch [Wed, 26 Dec 2012 19:00:00 +0000 (20:00 +0100)]
lavfi/deshake: remove usage of link->cur_buf.

6 years agolavfi/decimate: remove usage of link->cur_buf.
Clément Bœsch [Wed, 26 Dec 2012 18:56:53 +0000 (19:56 +0100)]
lavfi/decimate: remove usage of link->cur_buf.

6 years agolavfi/video: remove unused ff_inplace_start_frame().
Clément Bœsch [Wed, 26 Dec 2012 18:29:44 +0000 (19:29 +0100)]
lavfi/video: remove unused ff_inplace_start_frame().

6 years agomjpegdec: handle the occurance of rstn emulation
Michael Niedermayer [Wed, 26 Dec 2012 19:23:09 +0000 (20:23 +0100)]
mjpegdec: handle the occurance of rstn emulation

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomjpegdec: Handle RSTn in progressive jpegs
Michael Niedermayer [Tue, 25 Dec 2012 02:54:51 +0000 (03:54 +0100)]
mjpegdec: Handle RSTn in progressive jpegs

Fixes Ticket2003

Reviewed-by: Alexander Strasser <eclipse7@gmx.net>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomjpegdec: factor handle_rstn() out
Michael Niedermayer [Tue, 25 Dec 2012 02:54:25 +0000 (03:54 +0100)]
mjpegdec: factor handle_rstn() out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agobuild: mp filter does not depend on postproc anymore
Paul B Mahol [Wed, 26 Dec 2012 18:48:26 +0000 (18:48 +0000)]
build: mp filter does not depend on postproc anymore

This fixes testprogs build target if libpostproc is disabled.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
6 years agovf_idet: fix type of stats
Michael Niedermayer [Wed, 26 Dec 2012 02:22:26 +0000 (03:22 +0100)]
vf_idet: fix type of stats

Reviewed-by: Stefano Sabatini <stefasab@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavfi/idet: remove unused assert include.
Clément Bœsch [Wed, 26 Dec 2012 01:50:06 +0000 (02:50 +0100)]
lavfi/idet: remove unused assert include.

6 years agolavfi/idet: remove unecessary context assignment.
Clément Bœsch [Wed, 26 Dec 2012 01:48:07 +0000 (02:48 +0100)]
lavfi/idet: remove unecessary context assignment.

6 years agolavfi/idet: support named parameters.
Clément Bœsch [Wed, 26 Dec 2012 01:47:25 +0000 (02:47 +0100)]
lavfi/idet: support named parameters.

The parameters are currently not documented in doc/filters.texi, but now
they at least appear in the automatic help.

6 years agolavfi/idet: remove unecessary poll_frame callback.
Clément Bœsch [Wed, 26 Dec 2012 01:33:26 +0000 (02:33 +0100)]
lavfi/idet: remove unecessary poll_frame callback.

6 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Wed, 26 Dec 2012 13:35:54 +0000 (14:35 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  mpegvideo: initialize videodsp with correct pixel depth

Conflicts:
libavcodec/mpegvideo.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovc1dsp: fix the warning fix, make it work with --disable-asm
Michael Niedermayer [Wed, 26 Dec 2012 13:23:54 +0000 (14:23 +0100)]
vc1dsp: fix the warning fix, make it work with --disable-asm

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodoc/resampler: extend docs for min_comp and min_hard_comp options
Stefano Sabatini [Wed, 26 Dec 2012 00:39:08 +0000 (01:39 +0100)]
doc/resampler: extend docs for min_comp and min_hard_comp options

Based on the text from the aresample filter docs.

6 years agolavfi/aresample: fix style
Stefano Sabatini [Wed, 26 Dec 2012 00:26:55 +0000 (01:26 +0100)]
lavfi/aresample: fix style

Improve overall consistency/improve readability.

6 years agolibswscale/swscale-test: fix some const correctness
Michael Niedermayer [Wed, 26 Dec 2012 02:14:59 +0000 (03:14 +0100)]
libswscale/swscale-test: fix some const correctness

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovc1dsp: fix pointer type warnings
Michael Niedermayer [Wed, 26 Dec 2012 02:00:35 +0000 (03:00 +0100)]
vc1dsp: fix pointer type warnings

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolavc/utils: fix 'warning: missing braces around initializer'
Michael Niedermayer [Wed, 26 Dec 2012 00:53:45 +0000 (01:53 +0100)]
lavc/utils: fix 'warning: missing braces around initializer'

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agolcldec: fix zlib const pointer warning
Michael Niedermayer [Wed, 26 Dec 2012 00:37:38 +0000 (01:37 +0100)]
lcldec: fix zlib const pointer warning

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoimgconvert: fix 2 "discards const qualifier from pointer target type"
Michael Niedermayer [Wed, 26 Dec 2012 00:36:00 +0000 (01:36 +0100)]
imgconvert: fix 2 "discards const qualifier from pointer target type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoimgconvert: dont depend on default return type for get_color_type()
Michael Niedermayer [Wed, 26 Dec 2012 00:34:26 +0000 (01:34 +0100)]
imgconvert: dont depend on default return type for get_color_type()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoh264_direct: silence several warning: assignment from incompatible pointer type"
Michael Niedermayer [Wed, 26 Dec 2012 00:23:19 +0000 (01:23 +0100)]
h264_direct: silence several warning: assignment from incompatible pointer type"

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegvideo: initialize videodsp with correct pixel depth
Janne Grunau [Tue, 25 Dec 2012 23:24:21 +0000 (00:24 +0100)]
mpegvideo: initialize videodsp with correct pixel depth

Fixes decoding of 9/10 bit per pixel h264 videos as reported in
https://bugzilla.libav.org/show_bug.cgi?id=404 .

6 years agormdec: fix compiler warning for uninitialized variables
Jean First [Sat, 31 Dec 2011 13:15:35 +0000 (14:15 +0100)]
rmdec: fix compiler warning for uninitialized variables

Signed-off-by: Jean First <jeanfirst@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agompegts: update AVProgram after pmt change
XBMC [Sun, 16 Dec 2012 08:53:18 +0000 (09:53 +0100)]
mpegts: update AVProgram after pmt change

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agomxfdec: Rescale audio stream duration from EditRate to SampleRate
Tomas Härdin [Fri, 14 Dec 2012 14:39:16 +0000 (15:39 +0100)]
mxfdec: Rescale audio stream duration from EditRate to SampleRate

Since 83cab07 audio stream time bases are based on SampleRate, not EditRate.
This fixes trac ticket #2029 and a few seeking issues.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffmpeg: use the new swr -async parameter instead of a set of parameters.
Michael Niedermayer [Sat, 22 Dec 2012 22:54:25 +0000 (23:54 +0100)]
ffmpeg: use the new swr -async parameter instead of a set of parameters.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoswr: support -async X as a simple way to do what ffmpeg -async X did
Michael Niedermayer [Sat, 22 Dec 2012 22:53:45 +0000 (23:53 +0100)]
swr: support -async X as a simple way to do what ffmpeg -async X did

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoMerge remote-tracking branch 'cus/stable'
Michael Niedermayer [Tue, 25 Dec 2012 15:36:49 +0000 (16:36 +0100)]
Merge remote-tracking branch 'cus/stable'

* cus/stable:
  ffplay: fix greenish line on the right edge with some xv sizes

Merged-by: Michael Niedermayer <michaelni@gmx.at>
6 years agovf_pp: add postproc to the library dependencys for avfilter when enabled.
Hendrik Leppkes [Tue, 25 Dec 2012 13:45:00 +0000 (14:45 +0100)]
vf_pp: add postproc to the library dependencys for avfilter when enabled.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agoffplay: fix greenish line on the right edge with some xv sizes
Marton Balint [Thu, 6 Dec 2012 23:44:17 +0000 (00:44 +0100)]
ffplay: fix greenish line on the right edge with some xv sizes

If the XV image linesize was different from the width, SDL would create an
overlay wider than the actually requested one. This causes a greenish line on
the right, because the rightmost texel is blended with unset data.  This patch
introduces a function which duplicates the rightmost texel to the unset space,
that way the blending will be done with duplicated border texels.

Signed-off-by: Marton Balint <cus@passwd.hu>
6 years agosrt_probe: make buffer pointer const
Michael Niedermayer [Tue, 25 Dec 2012 01:57:48 +0000 (02:57 +0100)]
srt_probe: make buffer pointer const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agodsputil_mmx: fix pointer type for emulated_edge_mc_func()
Michael Niedermayer [Tue, 25 Dec 2012 01:04:31 +0000 (02:04 +0100)]
dsputil_mmx: fix pointer type for emulated_edge_mc_func()

Found-by: ubitux
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agostr_probe: make buffer related pointers const
Michael Niedermayer [Tue, 25 Dec 2012 00:55:22 +0000 (01:55 +0100)]
str_probe: make buffer related pointers const

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
6 years agopva_probe: make buffer related pointers and function arguments const
Michael Niedermayer [Tue, 25 Dec 2012 00:54:41 +0000 (01:54 +0100)]
pva_probe: make buffer related pointers and function arguments const

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