]> git.sesse.net Git - ffmpeg/log
ffmpeg
11 years agopnm: use av_pix_fmt_desc_get()
Michael Niedermayer [Sun, 24 Feb 2013 13:27:08 +0000 (14:27 +0100)]
pnm: use av_pix_fmt_desc_get()

Using the table directly may cause problems on some platforms like msvc

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'b5f536d24b5ae360503935c34d5d59fa5181b94d'
Michael Niedermayer [Sun, 24 Feb 2013 13:14:28 +0000 (14:14 +0100)]
Merge commit 'b5f536d24b5ae360503935c34d5d59fa5181b94d'

* commit 'b5f536d24b5ae360503935c34d5d59fa5181b94d':
  pnm: add high-bitdepth PGMYUV support for both encoder and decoder

Conflicts:
libavcodec/pnm.c
libavcodec/pnmdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '2f325a6fd4421c4dd4e26d7065e5d4bf26ed52f2'
Michael Niedermayer [Sun, 24 Feb 2013 13:05:16 +0000 (14:05 +0100)]
Merge commit '2f325a6fd4421c4dd4e26d7065e5d4bf26ed52f2'

* commit '2f325a6fd4421c4dd4e26d7065e5d4bf26ed52f2':
  libx264: change i_qfactor to use x264cli's default
  qtrle: use AV_LOG_ERROR in an error message.

Conflicts:
libavcodec/libx264.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '7b4f91155bd4ef5a8d4e9af65c48b42bfa5b52c6'
Michael Niedermayer [Sun, 24 Feb 2013 12:55:27 +0000 (13:55 +0100)]
Merge commit '7b4f91155bd4ef5a8d4e9af65c48b42bfa5b52c6'

* commit '7b4f91155bd4ef5a8d4e9af65c48b42bfa5b52c6':
  qtrle: cosmetics, reformat CHECK_PIXEL_PTR() macro

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'e10659244782b26061e7d52c06437de32a43a7af'
Michael Niedermayer [Sun, 24 Feb 2013 12:49:37 +0000 (13:49 +0100)]
Merge commit 'e10659244782b26061e7d52c06437de32a43a7af'

* commit 'e10659244782b26061e7d52c06437de32a43a7af':
  qtrle: add more checks against pixel_ptr being negative.

Conflicts:
libavcodec/qtrle.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '4f3b058c84f570e261d743c7c22f865617fd28ac'
Michael Niedermayer [Sun, 24 Feb 2013 12:20:25 +0000 (13:20 +0100)]
Merge commit '4f3b058c84f570e261d743c7c22f865617fd28ac'

* commit '4f3b058c84f570e261d743c7c22f865617fd28ac':
  cavs: initialize various context tables to 0
  mlpdec: do not try to allocate a zero-sized output buffer.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '56daf10e0313c5e36f43e773f457d2a99ff0df10'
Michael Niedermayer [Sun, 24 Feb 2013 12:15:52 +0000 (13:15 +0100)]
Merge commit '56daf10e0313c5e36f43e773f457d2a99ff0df10'

* commit '56daf10e0313c5e36f43e773f457d2a99ff0df10':
  mov: use the format context for logging.
  flicvideo: avoid an infinite loop in byte run compression

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavf/concatdec: add the "duration" directive.
Nicolas George [Wed, 13 Feb 2013 16:25:56 +0000 (17:25 +0100)]
lavf/concatdec: add the "duration" directive.

11 years agotools: add seek_print.
Nicolas George [Wed, 13 Feb 2013 18:15:45 +0000 (19:15 +0100)]
tools: add seek_print.

Useful for testing seek implementations.

11 years agoloco: check the last plane too
Michael Niedermayer [Sun, 24 Feb 2013 12:03:13 +0000 (13:03 +0100)]
loco: check the last plane too

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit '067432c1c95882c7221e694f33d9f3bdbe46de7f'
Michael Niedermayer [Sun, 24 Feb 2013 11:57:08 +0000 (12:57 +0100)]
Merge commit '067432c1c95882c7221e694f33d9f3bdbe46de7f'

* commit '067432c1c95882c7221e694f33d9f3bdbe46de7f':
  loco: check that there is data left after decoding a plane.
  lagarith: avoid infinite loop in lag_rac_refill()

Conflicts:
libavcodec/loco.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoMerge commit 'f935aca44c674d30e3ed940ef73bbad1228a5855'
Michael Niedermayer [Sun, 24 Feb 2013 11:22:51 +0000 (12:22 +0100)]
Merge commit 'f935aca44c674d30e3ed940ef73bbad1228a5855'

* commit 'f935aca44c674d30e3ed940ef73bbad1228a5855':
  av_memcpy_backptr: avoid an infinite loop for back = 0
  4xm: check the return value of read_huffman_tables().

Conflicts:
libavcodec/4xm.c
libavutil/mem.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavc: check return values consistency when decoding subtitles.
Nicolas George [Wed, 13 Feb 2013 09:40:41 +0000 (10:40 +0100)]
lavc: check return values consistency when decoding subtitles.

11 years agolavfi/formats: reindent after last commit.
Nicolas George [Sun, 24 Feb 2013 11:05:06 +0000 (12:05 +0100)]
lavfi/formats: reindent after last commit.

11 years agolavfi: fix merging of formats and clarify exception.
Nicolas George [Thu, 21 Feb 2013 13:02:13 +0000 (14:02 +0100)]
lavfi: fix merging of formats and clarify exception.

The following commit:
b97d61f avfilter/ff_merge_formats: only merge if doing so does not loose chroma or alpha
introduced an exception to avoid lossy conversions.
Add a comment to explain the logic.
Fix the call to avoid applying it on audio formats.

11 years agolavf/avio: check that the protocol supports the open mode.
Nicolas George [Wed, 13 Feb 2013 12:28:57 +0000 (13:28 +0100)]
lavf/avio: check that the protocol supports the open mode.

Fix trac ticket #2139.

11 years agolibavfilter/af_amerge: fix segfault if init fails.
Nicolas George [Thu, 21 Feb 2013 19:15:08 +0000 (20:15 +0100)]
libavfilter/af_amerge: fix segfault if init fails.

11 years agopmpdec: check packet sizes
Michael Niedermayer [Sat, 23 Feb 2013 21:05:30 +0000 (22:05 +0100)]
pmpdec: check packet sizes

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agopmpdec: fix signedness
Michael Niedermayer [Sat, 23 Feb 2013 20:50:22 +0000 (21:50 +0100)]
pmpdec: fix signedness

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agopmpdec: read index before creating audio streams
Michael Niedermayer [Sat, 23 Feb 2013 20:47:15 +0000 (21:47 +0100)]
pmpdec: read index before creating audio streams

This allows more complete checks

Reviewed-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agopmpdec: check for EOF while reading index.
Reimar Döffinger [Sat, 23 Feb 2013 18:44:46 +0000 (19:44 +0100)]
pmpdec: check for EOF while reading index.

Otherwise even a tiny file can trigger a huge memory allocation.

Related to ticket #2298.

Signed-off-by: Reimar Döffinger <Reimar.Doeffinger@gmx.de>
11 years agoavformat: Allocate duration_error separately
Michael Niedermayer [Sat, 23 Feb 2013 21:25:49 +0000 (22:25 +0100)]
avformat: Allocate duration_error separately

This significantly reduces the memory needed per AVStream when the
array is not needed.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomatroskaenc: fix cue tracknum off by 1 error
Michael Niedermayer [Sat, 23 Feb 2013 22:05:44 +0000 (23:05 +0100)]
matroskaenc: fix cue tracknum off by 1 error

Fixes out of array accesses

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovf_mp: Set pseudo pal
Michael Niedermayer [Sat, 23 Feb 2013 18:25:46 +0000 (19:25 +0100)]
vf_mp: Set pseudo pal

Fixes ticket2140
Fixes null pointer dereference

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agortmpproto: increase APP_MAX_LENGTH
Michael Niedermayer [Sat, 23 Feb 2013 16:24:15 +0000 (17:24 +0100)]
rtmpproto: increase APP_MAX_LENGTH

Fixes second part of Ticket2292

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agortmpproto: Check APP_MAX_LENGTH
Michael Niedermayer [Sat, 23 Feb 2013 15:58:01 +0000 (16:58 +0100)]
rtmpproto: Check APP_MAX_LENGTH

Fixes Ticket2292

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agopnm: add high-bitdepth PGMYUV support for both encoder and decoder
Kostya Shishkov [Fri, 22 Feb 2013 10:57:59 +0000 (11:57 +0100)]
pnm: add high-bitdepth PGMYUV support for both encoder and decoder

11 years agodoc/filters: add forgotten sentence for blend filter examples
Paul B Mahol [Sat, 23 Feb 2013 14:26:21 +0000 (14:26 +0000)]
doc/filters: add forgotten sentence for blend filter examples

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoh264: Silence warning: comparison of distinct pointer types lacks a cast
Michael Niedermayer [Sat, 23 Feb 2013 13:09:04 +0000 (14:09 +0100)]
h264: Silence warning: comparison of distinct pointer types lacks a cast

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agobmp: Fix warning X may be used uninitialized in this function
Michael Niedermayer [Sat, 23 Feb 2013 13:03:18 +0000 (14:03 +0100)]
bmp: Fix warning X may be used uninitialized in this function

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibx264: change i_qfactor to use x264cli's default
John Van Sickle [Tue, 25 Sep 2012 16:29:22 +0000 (12:29 -0400)]
libx264: change i_qfactor to use x264cli's default

This also allows libx264 to modify its i_qfactor value
when using the "-tune" setting. Previously it had a static
value of 1.25

Signed-off-by: Anton Khirnov <anton@khirnov.net>
11 years agoqtrle: use AV_LOG_ERROR in an error message.
Anton Khirnov [Thu, 14 Feb 2013 17:00:39 +0000 (18:00 +0100)]
qtrle: use AV_LOG_ERROR in an error message.

11 years agoqtrle: cosmetics, reformat CHECK_PIXEL_PTR() macro
Anton Khirnov [Thu, 14 Feb 2013 17:00:11 +0000 (18:00 +0100)]
qtrle: cosmetics, reformat CHECK_PIXEL_PTR() macro

11 years agoqtrle: add more checks against pixel_ptr being negative.
Anton Khirnov [Thu, 14 Feb 2013 16:58:12 +0000 (17:58 +0100)]
qtrle: add more checks against pixel_ptr being negative.

CC:libav-stable@libav.org

11 years agocavs: initialize various context tables to 0
Anton Khirnov [Thu, 14 Feb 2013 13:39:41 +0000 (14:39 +0100)]
cavs: initialize various context tables to 0

Avoids crashes with corrupted files.

CC:libav-stable@libav.org

11 years agomlpdec: do not try to allocate a zero-sized output buffer.
Anton Khirnov [Thu, 14 Feb 2013 13:05:35 +0000 (14:05 +0100)]
mlpdec: do not try to allocate a zero-sized output buffer.

CC:libav-stable@libav.org

11 years agomov: use the format context for logging.
Anton Khirnov [Thu, 14 Feb 2013 11:47:43 +0000 (12:47 +0100)]
mov: use the format context for logging.

CC:libav-stable@libav.org

11 years agoaacdec: Fix warning: initialization from incompatible pointer type
Michael Niedermayer [Sat, 23 Feb 2013 11:16:28 +0000 (12:16 +0100)]
aacdec: Fix warning: initialization from incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovf_overlay: silence warning: X may be used uninitialized in this function
Michael Niedermayer [Sat, 23 Feb 2013 11:10:35 +0000 (12:10 +0100)]
vf_overlay: silence warning: X may be used uninitialized in this function

Also ensure that format is valid in query_formats

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavfilter: Silence warning: passing argument 3 of av_image_copy from incompatible...
Michael Niedermayer [Sat, 23 Feb 2013 11:08:05 +0000 (12:08 +0100)]
avfilter: Silence warning: passing argument 3 of av_image_copy from incompatible pointer type

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoflicvideo: avoid an infinite loop in byte run compression
Anton Khirnov [Thu, 14 Feb 2013 11:40:36 +0000 (12:40 +0100)]
flicvideo: avoid an infinite loop in byte run compression

When byte_run is 0, pixel_countdown is not touched and the loop will run
forever.

CC:libav-stable@libav.org

11 years agoloco: check that there is data left after decoding a plane.
Anton Khirnov [Thu, 14 Feb 2013 08:08:35 +0000 (09:08 +0100)]
loco: check that there is data left after decoding a plane.

CC:libav-stable@libav.org

11 years agolagarith: avoid infinite loop in lag_rac_refill()
Anton Khirnov [Thu, 14 Feb 2013 07:47:17 +0000 (08:47 +0100)]
lagarith: avoid infinite loop in lag_rac_refill()

range == 0 happens with corrupted files

CC:libav-stable@libav.org

11 years agoav_memcpy_backptr: avoid an infinite loop for back = 0
Anton Khirnov [Wed, 13 Feb 2013 20:36:25 +0000 (21:36 +0100)]
av_memcpy_backptr: avoid an infinite loop for back = 0

CC:libav-stable@libav.org

11 years ago4xm: check the return value of read_huffman_tables().
Anton Khirnov [Wed, 13 Feb 2013 19:46:08 +0000 (20:46 +0100)]
4xm: check the return value of read_huffman_tables().

CC:libav-stable@libav.org

11 years agofate/subtitles: add character encoding conversion test.
Clément Bœsch [Wed, 20 Feb 2013 13:01:48 +0000 (14:01 +0100)]
fate/subtitles: add character encoding conversion test.

11 years agotests: fix parseutils test after 12a269a5229d3a37be0743fc9655f743ebc44b6e
Stefano Sabatini [Fri, 22 Feb 2013 23:18:34 +0000 (00:18 +0100)]
tests: fix parseutils test after 12a269a5229d3a37be0743fc9655f743ebc44b6e

"12:34" is now valid syntax.

11 years agodoc/muxers: fix reference to @anchor defined in another manual
Stefano Sabatini [Fri, 22 Feb 2013 22:48:55 +0000 (23:48 +0100)]
doc/muxers: fix reference to @anchor defined in another manual

In particular, fix warnings:
*** Undefined node `quoting_and_escaping' in @ref (in doc/muxers.texi l. 767)
*** Undefined node `quoting_and_escaping' in @ref (in doc/muxers.texi l. 772)

11 years agolavu/parseutils: remove spurious "]]" in date format specification
Stefano Sabatini [Fri, 22 Feb 2013 22:45:31 +0000 (23:45 +0100)]
lavu/parseutils: remove spurious "]]" in date format specification

11 years agolavu/parseutils: allow MM:SS format for duration in av_parse_time()
Senthilnathan M [Wed, 20 Feb 2013 04:21:06 +0000 (09:51 +0530)]
lavu/parseutils: allow MM:SS format for duration in av_parse_time()

Fix trac ticket #2258.

Signed-off-by: Senthilnathan M <senthilnathan.maadasamy@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
11 years agoImprove QTRLE encoding performance, no change to output file size/content.
Malcolm Bechard [Wed, 20 Feb 2013 20:50:34 +0000 (15:50 -0500)]
Improve QTRLE encoding performance, no change to output file size/content.

Avoid searching for the lowest bulk cost for each pixel that isn't a repeat/skip. Instead store the lowest cost as we go along each pixel, and use it as needed.

Signed-off-by: Malcolm Bechard <malcolm.bechard@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavutil/mem: do a small set of checks for memalign hack before freeing.
Michael Niedermayer [Fri, 22 Feb 2013 19:30:52 +0000 (20:30 +0100)]
avutil/mem: do a small set of checks for memalign hack before freeing.

These can detect some kinds of memory and or pointer corruptions

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoexr: shorter channel buffer names
Paul B Mahol [Fri, 22 Feb 2013 12:17:17 +0000 (12:17 +0000)]
exr: shorter channel buffer names

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoexr: remove superfluous check
Paul B Mahol [Thu, 21 Feb 2013 19:30:26 +0000 (19:30 +0000)]
exr: remove superfluous check

get_header_variable_length() already check for
out of array read and returns 0 in such case.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoexr: cosmetics: reindent
Paul B Mahol [Thu, 21 Feb 2013 12:55:25 +0000 (12:55 +0000)]
exr: cosmetics: reindent

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoexr: check if line offset table is complete only once per frame
Paul B Mahol [Thu, 21 Feb 2013 12:30:40 +0000 (12:30 +0000)]
exr: check if line offset table is complete only once per frame

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoexr: support more line orders
Paul B Mahol [Wed, 20 Feb 2013 13:38:24 +0000 (13:38 +0000)]
exr: support more line orders

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoexr: fix overflow check in lineoffset processing
Paul B Mahol [Wed, 20 Feb 2013 11:33:44 +0000 (11:33 +0000)]
exr: fix overflow check in lineoffset processing

Also read data size for raw compressions too and
make sure its value is sane.

Remove code that fills missing blocks with zeroes.
It is marginally useful and make implementation
of actually useful features harder.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoexr: merge multiple if () blocks
Paul B Mahol [Wed, 20 Feb 2013 10:44:39 +0000 (10:44 +0000)]
exr: merge multiple if () blocks

Remove useless comments.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoexr: check version too
Paul B Mahol [Wed, 20 Feb 2013 10:32:22 +0000 (10:32 +0000)]
exr: check version too

Separate version from flags.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agodoc/filters: apply minor spacing fixes to boxblur docs
Stefano Sabatini [Fri, 22 Feb 2013 18:57:54 +0000 (19:57 +0100)]
doc/filters: apply minor spacing fixes to boxblur docs

11 years agolavfi/boxblur: add support to named options
Stefano Sabatini [Wed, 20 Feb 2013 14:45:02 +0000 (15:45 +0100)]
lavfi/boxblur: add support to named options

11 years agoaac: reconfigure output on pop
Michael Niedermayer [Fri, 22 Feb 2013 16:33:22 +0000 (17:33 +0100)]
aac: reconfigure output on pop

Fixes Ticket1918

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agocafenc: do not leak caf->pkt_sizes
Paul B Mahol [Fri, 22 Feb 2013 13:51:06 +0000 (13:51 +0000)]
cafenc: do not leak caf->pkt_sizes

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoaacdec: dont pop random configurations
Michael Niedermayer [Fri, 22 Feb 2013 12:51:39 +0000 (13:51 +0100)]
aacdec: dont pop random configurations

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomxg: do not leak mxg->buffer
Paul B Mahol [Fri, 22 Feb 2013 13:37:35 +0000 (13:37 +0000)]
mxg: do not leak mxg->buffer

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Fri, 22 Feb 2013 09:54:27 +0000 (10:54 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  x86: h264: Don't use redzone in AVX h264_deblock on Win64

No code change, as the commit has been already integrated
merge just for metadata

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agodxva2: move _WIN32_WINNT handling to public header
Michael Niedermayer [Thu, 21 Feb 2013 12:05:16 +0000 (13:05 +0100)]
dxva2: move _WIN32_WINNT handling to public header

This removes duplicate code

Reviewed-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolibavcodec/mips/aacsbr_mips: fix ;;
Michael Niedermayer [Thu, 21 Feb 2013 22:06:30 +0000 (23:06 +0100)]
libavcodec/mips/aacsbr_mips: fix ;;

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomips: optimization for float aac decoder (ps module)
Mirjana Vulin [Thu, 21 Feb 2013 13:46:53 +0000 (14:46 +0100)]
mips: optimization for float aac decoder (ps module)

Signed-off-by: Mirjana Vulin <mvulin@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomips: optimization for float aac decoder (sbr module)
Mirjana Vulin [Thu, 21 Feb 2013 13:46:52 +0000 (14:46 +0100)]
mips: optimization for float aac decoder (sbr module)

Signed-off-by: Mirjana Vulin <mvulin@mips.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoconfigure: Use libiconv on systems that lack built-in iconv
James Almer [Thu, 21 Feb 2013 01:35:59 +0000 (22:35 -0300)]
configure: Use libiconv on systems that lack built-in iconv

Signed-off-by: James Almer <jamrial@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoFix Win64 AVX h264_deblock by not using redzone on Win64
Matt Wolenetz [Fri, 15 Feb 2013 21:59:40 +0000 (13:59 -0800)]
Fix Win64 AVX h264_deblock by not using redzone on Win64

Thanks-to: "Ronald S. Bultje" <rsbultje@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264: ensure that get_format() is called when changing format but not otherwise.
Michael Niedermayer [Thu, 21 Feb 2013 01:46:02 +0000 (02:46 +0100)]
h264: ensure that get_format() is called when changing format but not otherwise.

Fixes Ticket2288

Tested-by: Stefano Pigozzi <stefano.pigozzi@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomatroska: fix missing ,
Andrea3000 [Thu, 21 Feb 2013 21:24:26 +0000 (22:24 +0100)]
matroska: fix missing ,

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoavcodec_decode_audio4: check got_frame_ptr before handling initial skip
Michael Niedermayer [Thu, 21 Feb 2013 21:00:19 +0000 (22:00 +0100)]
avcodec_decode_audio4: check got_frame_ptr before handling initial skip

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoblend filter
Paul B Mahol [Mon, 11 Feb 2013 16:01:40 +0000 (16:01 +0000)]
blend filter

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoh264: move next/last picture init to decode_slice_header
Michael Niedermayer [Thu, 21 Feb 2013 19:05:43 +0000 (20:05 +0100)]
h264: move next/last picture init to decode_slice_header

This is a regression introduced from the h264/mpegvideo split
Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoec: check that reference pictures have matching parameters before using them.
Michael Niedermayer [Thu, 21 Feb 2013 15:37:29 +0000 (16:37 +0100)]
ec: check that reference pictures have matching parameters before using them.

Fixes out of array reads

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264: check that luma and chroma depth match
Michael Niedermayer [Thu, 21 Feb 2013 14:00:59 +0000 (15:00 +0100)]
h264: check that luma and chroma depth match

Fixes out of array access

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agox86: h264: Don't use redzone in AVX h264_deblock on Win64
Matt Wolenetz [Fri, 15 Feb 2013 21:59:40 +0000 (13:59 -0800)]
x86: h264: Don't use redzone in AVX h264_deblock on Win64

This fixes crashes in chromium on win64 on machines with AVX
(crashes that apparently aren't triggered by fate).

Signed-off-by: Martin Storsjö <martin@martin.st>
11 years agoexr: constify s in rle_uncompress()
Paul B Mahol [Thu, 21 Feb 2013 09:49:59 +0000 (09:49 +0000)]
exr: constify s in rle_uncompress()

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoexr: reset compression in decode_frame()
Paul B Mahol [Thu, 21 Feb 2013 11:38:10 +0000 (11:38 +0000)]
exr: reset compression in decode_frame()

This fixes decoding of images if compression changes.
Regression since b040ffc84c5e.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
11 years agoMerge remote-tracking branch 'qatar/master'
Michael Niedermayer [Thu, 21 Feb 2013 11:59:30 +0000 (12:59 +0100)]
Merge remote-tracking branch 'qatar/master'

* qatar/master:
  dxva2: Add missing #define to make header compile standalone
  arm: vp8: Add missing #includes for header to compile standalone
  doc: filters: Correct BNF FILTER description

Merged-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoffmpeg: set resample_pix_fmt for sub2video.
Nicolas George [Sun, 17 Feb 2013 12:09:43 +0000 (13:09 +0100)]
ffmpeg: set resample_pix_fmt for sub2video.

Forgotten when the resample_* fields were added.
Fix assert failures.

11 years agolavfi/buffersrc: set channel layout if it is known.
Nicolas George [Sun, 17 Feb 2013 14:45:12 +0000 (15:45 +0100)]
lavfi/buffersrc: set channel layout if it is known.

If buffersrc was configured for frames with an unknown layout,
the incoming frames will have channel_layout = 0.
If the format negotiation has selected a known (and compatible)
channel layout for the link, the frame is assumed to have
that layout, the field must be set before injecting the frame
in the filters.

11 years agoUse SMPTE standard notation when showing mxf Universal Labels.
Carl Eugen Hoyos [Thu, 21 Feb 2013 08:11:22 +0000 (09:11 +0100)]
Use SMPTE standard notation when showing mxf Universal Labels.

11 years agovf_idet: adapt default scores due to bugfix
Michael Niedermayer [Thu, 21 Feb 2013 00:54:04 +0000 (01:54 +0100)]
vf_idet: adapt default scores due to bugfix

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agovf_idet: Fix macro arguments sideeffect
Michael Niedermayer [Thu, 21 Feb 2013 00:49:56 +0000 (01:49 +0100)]
vf_idet: Fix macro arguments sideeffect

Fixes valgrind errors
should improve detection scores

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agofate/subtitles: add MicroDVD remux test.
Clément Bœsch [Wed, 20 Feb 2013 22:47:10 +0000 (23:47 +0100)]
fate/subtitles: add MicroDVD remux test.

11 years agolavf/microdvd: fix muxing.
Clément Bœsch [Wed, 20 Feb 2013 22:43:25 +0000 (23:43 +0100)]
lavf/microdvd: fix muxing.

This was broken since 1f265f52.

11 years agolavf/swfdec: remove 8-bit audio FIXME.
Clément Bœsch [Wed, 20 Feb 2013 23:59:22 +0000 (00:59 +0100)]
lavf/swfdec: remove 8-bit audio FIXME.

Implemented since 624fb5f9.

11 years agobrender_pix: use a grayscale palette as fallback instead of a uninitialized one.
Michael Niedermayer [Wed, 20 Feb 2013 23:21:47 +0000 (00:21 +0100)]
brender_pix: use a grayscale palette as fallback instead of a uninitialized one.

Improves: 3-0-CORPSE.PIX

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agomjpegdec: check for packed rgb mjpeg.
Michael Niedermayer [Wed, 20 Feb 2013 23:00:51 +0000 (00:00 +0100)]
mjpegdec: check for packed rgb mjpeg.

Fixes null pointer dereference

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoFix bits_per_coded_sample when encoding png with frame-level multithreading.
Carl Eugen Hoyos [Wed, 20 Feb 2013 21:54:21 +0000 (22:54 +0100)]
Fix bits_per_coded_sample when encoding png with frame-level multithreading.

Fixes ticket #2290.

11 years agolavf/swfdec: support 8-bits PCM audio.
Clément Bœsch [Wed, 20 Feb 2013 20:43:55 +0000 (21:43 +0100)]
lavf/swfdec: support 8-bits PCM audio.

11 years agolavf/swfdec: factorize the creation of a new stream.
Clément Bœsch [Wed, 20 Feb 2013 20:40:52 +0000 (21:40 +0100)]
lavf/swfdec: factorize the creation of a new stream.

This also makes the changes of a3949fe11 applicable in both cases.

11 years agoh264: Fix handling of changing reference counts between slices
Michael Niedermayer [Wed, 20 Feb 2013 18:43:58 +0000 (19:43 +0100)]
h264: Fix handling of changing reference counts between slices

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agoh264: call alloc_scratch_buffers() only once linesize is known
Michael Niedermayer [Wed, 20 Feb 2013 16:25:04 +0000 (17:25 +0100)]
h264: call alloc_scratch_buffers() only once linesize is known

Fixes out of array accesses

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
11 years agolavfi/subtitles: fix recently introduced warning about discarded const qualifier.
Clément Bœsch [Wed, 20 Feb 2013 18:47:32 +0000 (19:47 +0100)]
lavfi/subtitles: fix recently introduced warning about discarded const qualifier.