ffmpeg.git
4 years agolavu/dict: add more tests
Lukasz Marek [Wed, 1 Apr 2015 18:03:29 +0000 (20:03 +0200)]
lavu/dict: add more tests

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
4 years agolavu/dict: fix set function when reuse existing key pointer
Lukasz Marek [Wed, 1 Apr 2015 18:01:30 +0000 (20:01 +0200)]
lavu/dict: fix set function when reuse existing key pointer

Fixes following scenario:

av_dict_set(&d, "key", "old", 0);
AVDictionaryEentry *e = av_dict_get(d, "key", NULL, 0);
av_dict_set(&d, e->key, "new", 0);

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
4 years agopng: Use libavutil's crc functions instead of zlib's
Donny Yang [Thu, 2 Apr 2015 15:09:18 +0000 (15:09 +0000)]
png: Use libavutil's crc functions instead of zlib's

Signed-off-by: Donny Yang <work@kota.moe>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoffmpeg_opt.c: fix regression introduced in 5743095c
Tim Nicholson [Thu, 2 Apr 2015 16:41:22 +0000 (17:41 +0100)]
ffmpeg_opt.c: fix regression introduced in 5743095c

-vtag is an input and output option.

Signed-off-by: Tim Nicholson <tim.nicholson@bbc.co.uk>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/vda_h264: try to fix build
Michael Niedermayer [Thu, 2 Apr 2015 13:58:02 +0000 (15:58 +0200)]
avcodec/vda_h264: try to fix build

Found-by: Stefano Pigozzi
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agovda: fix h264 decoding for avcC,vda wants the entire buffer
Rainer Hochecker [Thu, 2 Apr 2015 11:43:06 +0000 (13:43 +0200)]
vda: fix h264 decoding for avcC,vda wants the entire buffer

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/nvenc: Fix profile parameter handling
Timo Rothenpieler [Wed, 1 Apr 2015 22:04:07 +0000 (00:04 +0200)]
avcodec/nvenc: Fix profile parameter handling

It was not possible to set a profile before, the builtin profile
parameter does not seem to work propperly.
To be compatible with libx264, this overlays it with a local parameter
that expects a string, instead of an int, that takes the well known values
"high", "main" or "baseline".

Reviewed-by: Philip Langdale <philipl@overt.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoBump lavc and lavf minor versions for apng muxer and encoder.
Carl Eugen Hoyos [Thu, 2 Apr 2015 12:09:11 +0000 (14:09 +0200)]
Bump lavc and lavf minor versions for apng muxer and encoder.

4 years agoffmpeg: Avoid null pointer dereferences
Himangi Saraogi [Thu, 2 Apr 2015 10:52:19 +0000 (16:22 +0530)]
ffmpeg: Avoid null pointer dereferences

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoapng: Add a basic APNG muxer
Donny Yang [Sat, 28 Mar 2015 08:06:24 +0000 (19:06 +1100)]
apng: Add a basic APNG muxer

Additionally, update some documentation with support for APNG

Signed-off-by: Donny Yang <work@kota.moe>
Reviewed-by: Paul B Mahol <onemda@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoapng: Add a basic APNG encoder
Donny Yang [Tue, 31 Mar 2015 20:58:26 +0000 (20:58 +0000)]
apng: Add a basic APNG encoder

Signed-off-by: Donny Yang <work@kota.moe>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolavu/dict: don't accept AV_DICT_DONT_STRDUP_VAL for av_dict_set_int
Lukasz Marek [Wed, 1 Apr 2015 22:36:02 +0000 (00:36 +0200)]
lavu/dict: don't accept AV_DICT_DONT_STRDUP_VAL for av_dict_set_int

Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/ccaption_dec: Remove the GOTO statement
Pranav Vaish [Wed, 1 Apr 2015 20:58:23 +0000 (02:28 +0530)]
avcodec/ccaption_dec: Remove the GOTO statement

4 years agoMerge commit 'e3ec6fe7bb2a622a863e3912181717a659eb1bad'
Michael Niedermayer [Wed, 1 Apr 2015 19:27:45 +0000 (21:27 +0200)]
Merge commit 'e3ec6fe7bb2a622a863e3912181717a659eb1bad'

* commit 'e3ec6fe7bb2a622a863e3912181717a659eb1bad':
  rtsp: Add a buffer_size option

Conflicts:
libavformat/rtsp.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '8c9c5479c4ba729b4ba868ab541a90b2061a7c2f'
Michael Niedermayer [Wed, 1 Apr 2015 19:12:23 +0000 (21:12 +0200)]
Merge commit '8c9c5479c4ba729b4ba868ab541a90b2061a7c2f'

* commit '8c9c5479c4ba729b4ba868ab541a90b2061a7c2f':
  rtp: Add an option to set the send/receive buffer size

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '3c47e7c4350f73fc77d8e76f0dd6d2946b13c5cc'
Michael Niedermayer [Wed, 1 Apr 2015 19:03:10 +0000 (21:03 +0200)]
Merge commit '3c47e7c4350f73fc77d8e76f0dd6d2946b13c5cc'

* commit '3c47e7c4350f73fc77d8e76f0dd6d2946b13c5cc':
  rtp: Map the urloptions to AVOptions

Conflicts:
libavformat/rtpproto.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoRevert "avcodec/exr: fix memset first arg in reverse_lut()"
Michael Niedermayer [Wed, 1 Apr 2015 17:53:23 +0000 (19:53 +0200)]
Revert "avcodec/exr: fix memset first arg in reverse_lut()"

This reverts commit 586ba24ff29468d2a4ee843a9650feea5b2be6f6.

Fixes Ticket 4386

Found-by: Martin Vignali <martin.vignali@gmail.com>
4 years agolavc/smvjpegdec: Avoid null dereference and return meaningful error codes
Himangi Saraogi [Wed, 1 Apr 2015 16:05:16 +0000 (21:35 +0530)]
lavc/smvjpegdec: Avoid null dereference and return meaningful error codes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/xwma: Use ff_alloc_extradata()
Michael Niedermayer [Wed, 1 Apr 2015 16:17:20 +0000 (18:17 +0200)]
avformat/xwma: Use ff_alloc_extradata()

This prevents the fields from potentially becoming inconsistent in case of errors

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/webmdashenc: use AVERROR(ENOMEM) for memory allocation failures
Michael Niedermayer [Wed, 1 Apr 2015 16:11:48 +0000 (18:11 +0200)]
avformat/webmdashenc: use AVERROR(ENOMEM) for memory allocation failures

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agotools/sidxindex: Use av_*malloc_array()
Michael Niedermayer [Wed, 1 Apr 2015 15:40:30 +0000 (17:40 +0200)]
tools/sidxindex: Use av_*malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavutil/eval: check for av_malloc failure
Michael Niedermayer [Wed, 1 Apr 2015 13:45:37 +0000 (15:45 +0200)]
avutil/eval: check for av_malloc failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavutil/eval: factor av_expr_free() calls out
Michael Niedermayer [Wed, 1 Apr 2015 13:45:18 +0000 (15:45 +0200)]
avutil/eval: factor av_expr_free() calls out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agortsp: Add a buffer_size option
Luca Barbato [Sun, 22 Mar 2015 20:16:55 +0000 (21:16 +0100)]
rtsp: Add a buffer_size option

And forward it to rtp and udp.

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
4 years agortp: Add an option to set the send/receive buffer size
Luca Barbato [Sun, 29 Mar 2015 04:26:53 +0000 (06:26 +0200)]
rtp: Add an option to set the send/receive buffer size

It gets forwarded down to UDP.

4 years agortp: Map the urloptions to AVOptions
Luca Barbato [Sun, 22 Mar 2015 17:08:43 +0000 (18:08 +0100)]
rtp: Map the urloptions to AVOptions

Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
4 years agoavcodec/nvenc: Fix typoed nv_status checks
Timo Rothenpieler [Wed, 1 Apr 2015 07:46:50 +0000 (09:46 +0200)]
avcodec/nvenc: Fix typoed nv_status checks

Thanks to Wyatt Aaron for pointing this out

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/png: Clearly separate encoding header and frames
Donny Yang [Tue, 31 Mar 2015 20:58:25 +0000 (20:58 +0000)]
avcodec/png: Clearly separate encoding header and frames

Signed-off-by: Donny Yang <work@kota.moe>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolavu/avstring: add av_append_path_component() funcion
Lukasz Marek [Sat, 5 Jul 2014 16:12:02 +0000 (18:12 +0200)]
lavu/avstring: add av_append_path_component() funcion

Convinient function to build paths.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/mp3dec: offset seek index to end of id3v2 tag
wm4 [Tue, 31 Mar 2015 20:47:37 +0000 (22:47 +0200)]
avformat/mp3dec: offset seek index to end of id3v2 tag

The Xing index won't account for the id3 tag - it's relative to the
headers.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/libx265: export choosen picture types
Michael Niedermayer [Mon, 30 Mar 2015 22:37:46 +0000 (00:37 +0200)]
avcodec/libx265: export choosen picture types

Fixes part of ticket 4285

Reviewed-by Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agopng: Clear up the calculation of max packet size
Donny Yang [Tue, 31 Mar 2015 12:37:22 +0000 (12:37 +0000)]
png: Clear up the calculation of max packet size

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/internal: Fix doxy for ff_alloc_packet2() return value
Michael Niedermayer [Tue, 31 Mar 2015 14:14:22 +0000 (16:14 +0200)]
avcodec/internal: Fix doxy for ff_alloc_packet2() return value

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agovf_drawtext: add support for setting box border width
Marton Balint [Mon, 30 Mar 2015 22:52:47 +0000 (00:52 +0200)]
vf_drawtext: add support for setting box border width

Signed-off-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/http: Fix null check on allocated value
Himangi Saraogi [Tue, 31 Mar 2015 07:23:25 +0000 (12:53 +0530)]
avformat/http: Fix null check on allocated value

probably fixes CID 1292299

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoh264: avoid unnecessary calls to get_format
Rainer Hochecker [Tue, 31 Mar 2015 06:27:01 +0000 (08:27 +0200)]
h264: avoid unnecessary calls to get_format

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter/vf_detelecine: Fix uninitialized array index error
Himangi Saraogi [Tue, 31 Mar 2015 07:13:46 +0000 (12:43 +0530)]
avfilter/vf_detelecine: Fix uninitialized array index error

Fixes the defect CID 1292301

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolavf/segment: style nits
Rodger Combs [Tue, 31 Mar 2015 02:23:19 +0000 (20:23 -0600)]
lavf/segment: style nits

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/snowenc: Check av_frame_ref() return value
Michael Niedermayer [Tue, 31 Mar 2015 02:25:42 +0000 (04:25 +0200)]
avcodec/snowenc: Check av_frame_ref() return value

Fixes CID1026740

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/h264_refs: fix null pointer dereference with -DTRACE
Michael Niedermayer [Mon, 30 Mar 2015 23:57:00 +0000 (01:57 +0200)]
avcodec/h264_refs: fix null pointer dereference with -DTRACE

Found-by: carl
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '4978850ca2cb1ec6908f5bc79cc592ca454d11e8'
Michael Niedermayer [Mon, 30 Mar 2015 23:02:00 +0000 (01:02 +0200)]
Merge commit '4978850ca2cb1ec6908f5bc79cc592ca454d11e8'

* commit '4978850ca2cb1ec6908f5bc79cc592ca454d11e8':
  build: Split JPEG-related tables off into a separate component

Conflicts:
configure

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '87f87ccf32055aca25fa08e29e22cca1ba9976d5'
Michael Niedermayer [Mon, 30 Mar 2015 22:47:40 +0000 (00:47 +0200)]
Merge commit '87f87ccf32055aca25fa08e29e22cca1ba9976d5'

* commit '87f87ccf32055aca25fa08e29e22cca1ba9976d5':
  mjpeg: Use a more precise type for put_marker()

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavutil/hmac: Check av_hmac_alloc() return code
Michael Niedermayer [Mon, 30 Mar 2015 21:07:19 +0000 (23:07 +0200)]
avutil/hmac: Check av_hmac_alloc() return code

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoswresample/swresample: Use av_mallocz_array()
Michael Niedermayer [Mon, 30 Mar 2015 20:59:09 +0000 (22:59 +0200)]
swresample/swresample: Use av_mallocz_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolavf: Bump minor version and document directory listing API in doc/APIchanges.
Mariusz SzczepaƄczyk [Sat, 28 Mar 2015 23:54:46 +0000 (00:54 +0100)]
lavf: Bump minor version and document directory listing API in doc/APIchanges.

4 years agoavcodec/libdcadec: remove av_assert and check bits_per_sample more completely
Michael Niedermayer [Sun, 29 Mar 2015 11:12:07 +0000 (13:12 +0200)]
avcodec/libdcadec: remove av_assert and check bits_per_sample more completely

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter/vf_vignette: Change enum to int, which is accessed via AVOption as int
Michael Niedermayer [Mon, 30 Mar 2015 19:58:42 +0000 (21:58 +0200)]
avfilter/vf_vignette:  Change enum to int, which is accessed via AVOption as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavdevice/avfoundation: Fix occured typo
Michael Niedermayer [Mon, 30 Mar 2015 19:41:17 +0000 (21:41 +0200)]
avdevice/avfoundation: Fix occured typo

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit 'e6e3dcba0c6f11bd7022e2d3b9bcb7b6a09d6c80'
Michael Niedermayer [Mon, 30 Mar 2015 19:05:23 +0000 (21:05 +0200)]
Merge commit 'e6e3dcba0c6f11bd7022e2d3b9bcb7b6a09d6c80'

* commit 'e6e3dcba0c6f11bd7022e2d3b9bcb7b6a09d6c80':
  mjpeg: Move code only used in the encoder(s) to the appropriate header

Conflicts:
libavcodec/mjpegdec.c

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '6ed38b1f65b424a4fa92042e0069f350b95e0098'
Michael Niedermayer [Mon, 30 Mar 2015 18:54:08 +0000 (20:54 +0200)]
Merge commit '6ed38b1f65b424a4fa92042e0069f350b95e0098'

* commit '6ed38b1f65b424a4fa92042e0069f350b95e0098':
  tiff: Return more meaningful error codes

Conflicts:
libavcodec/tiffenc.c

See: 0187c2ccda3b00d22797170bf5675318dd0f675a
Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '23944d29a22a2cd602753b3705f73011c3bf0b18'
Michael Niedermayer [Mon, 30 Mar 2015 18:39:01 +0000 (20:39 +0200)]
Merge commit '23944d29a22a2cd602753b3705f73011c3bf0b18'

* commit '23944d29a22a2cd602753b3705f73011c3bf0b18':
  indeo: Give Indeo4/5 shared code a more consistent name

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '7d3183d3a4e800ab7a7fa24f49968a1b1bcc0161'
Michael Niedermayer [Mon, 30 Mar 2015 18:31:50 +0000 (20:31 +0200)]
Merge commit '7d3183d3a4e800ab7a7fa24f49968a1b1bcc0161'

* commit '7d3183d3a4e800ab7a7fa24f49968a1b1bcc0161':
  qsv: Skip header compilation depending on what parts of qsv are enabled

Conflicts:
libavcodec/Makefile

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agotiff: Return more meaningful error codes
Himangi Saraogi [Mon, 30 Mar 2015 16:54:06 +0000 (22:24 +0530)]
tiff: Return more meaningful error codes

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agobuild: Split JPEG-related tables off into a separate component
Diego Biurrun [Fri, 27 Mar 2015 11:23:59 +0000 (12:23 +0100)]
build: Split JPEG-related tables off into a separate component

4 years agomjpeg: Use a more precise type for put_marker()
Diego Biurrun [Sun, 29 Mar 2015 11:24:18 +0000 (13:24 +0200)]
mjpeg: Use a more precise type for put_marker()

4 years agomjpeg: Move code only used in the encoder(s) to the appropriate header
Diego Biurrun [Fri, 27 Mar 2015 11:53:56 +0000 (12:53 +0100)]
mjpeg: Move code only used in the encoder(s) to the appropriate header

4 years agotiff: Return more meaningful error codes
Himangi Saraogi [Sun, 29 Mar 2015 18:57:56 +0000 (00:27 +0530)]
tiff: Return more meaningful error codes

Signed-off-by: Diego Biurrun <diego@biurrun.de>
4 years agoindeo: Give Indeo4/5 shared code a more consistent name
Diego Biurrun [Sun, 29 Mar 2015 12:44:23 +0000 (14:44 +0200)]
indeo: Give Indeo4/5 shared code a more consistent name

4 years agoqsv: Skip header compilation depending on what parts of qsv are enabled
Diego Biurrun [Sun, 29 Mar 2015 11:49:44 +0000 (13:49 +0200)]
qsv: Skip header compilation depending on what parts of qsv are enabled

4 years agolibavformat/mxfenc.c: Add 'Presentation Y offset' metadata
Tim Nicholson [Mon, 30 Mar 2015 10:11:17 +0000 (11:11 +0100)]
libavformat/mxfenc.c: Add 'Presentation Y offset' metadata

Previously unset, and some software mishandles files if it is absent

Signed-off-by: Tim Nicholson <tim.nicholson@bbc.co.uk>
Reviewed-by: tomas.hardin@codemill.se
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavutil/pca: Check for av_malloc* failures
Michael Niedermayer [Mon, 30 Mar 2015 02:37:42 +0000 (04:37 +0200)]
avutil/pca: Check for av_malloc* failures

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/nutdec: Use av_malloc_array()
Michael Niedermayer [Mon, 30 Mar 2015 02:32:58 +0000 (04:32 +0200)]
avformat/nutdec: Use av_malloc_array()

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/img2: Change enum to int, which is accessed via AVOption as int
Michael Niedermayer [Mon, 23 Mar 2015 18:31:17 +0000 (19:31 +0100)]
avformat/img2: Change enum to int, which is accessed via AVOption as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/wavenc: Change enum to int, which is accessed via AVOption as int
Michael Niedermayer [Mon, 23 Mar 2015 18:31:17 +0000 (19:31 +0100)]
avformat/wavenc: Change enum to int, which is accessed via AVOption as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter/vf_transpose: Change enums to int, which are accessed via AVOption as int
Michael Niedermayer [Mon, 23 Mar 2015 18:31:17 +0000 (19:31 +0100)]
avfilter/vf_transpose: Change enums to int, which are accessed via AVOption as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter/tinterlace: Change enum to int, which is accessed via AVOption as int
Michael Niedermayer [Mon, 23 Mar 2015 18:31:17 +0000 (19:31 +0100)]
avfilter/tinterlace: Change enum to int, which is accessed via AVOption as int

This fixes depending on implementation defined behavior

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavformat/udp: Remove (harmless) duplicated pkt_size entry from AVOption table
Michael Niedermayer [Sun, 29 Mar 2015 20:10:05 +0000 (22:10 +0200)]
avformat/udp: Remove (harmless) duplicated pkt_size entry from AVOption table

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit 'ff7adead0a667e606f5a41dca591f074f9ff2f32'
Michael Niedermayer [Sun, 29 Mar 2015 20:05:13 +0000 (22:05 +0200)]
Merge commit 'ff7adead0a667e606f5a41dca591f074f9ff2f32'

* commit 'ff7adead0a667e606f5a41dca591f074f9ff2f32':
  udp: Fix pkt_size management

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolavf/segment: Mark output contexts as non-seekable when applicable
Rodger Combs [Sun, 29 Mar 2015 16:57:09 +0000 (10:57 -0600)]
lavf/segment: Mark output contexts as non-seekable when applicable

This prevents sub-muxers from trying to seek back to the beginning of the
whole stream, only to find themselves overwriting some video data in the
current (often last) segment.

We only do this when not writing individual header/trailers.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agopng: Only init zlib once
Donny Yang [Sun, 29 Mar 2015 11:05:43 +0000 (11:05 +0000)]
png: Only init zlib once

Signed-off-by: Donny Yang <work@kota.moe>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agopng: Calculate pixel format information only once
Donny Yang [Sun, 29 Mar 2015 11:05:42 +0000 (11:05 +0000)]
png: Calculate pixel format information only once

Signed-off-by: Donny Yang <work@kota.moe>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agopng: Return slightly more meaningful error codes
Donny Yang [Sun, 29 Mar 2015 11:05:42 +0000 (11:05 +0000)]
png: Return slightly more meaningful error codes

Signed-off-by: Donny Yang <work@kota.moe>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoudp: Fix pkt_size management
Luca Barbato [Sun, 29 Mar 2015 13:19:35 +0000 (15:19 +0200)]
udp: Fix pkt_size management

The default value for unset is -1, not 0.

Problem introduced in 66028b7ba6b411ba12ef553e9c8f1f4a4fe27710

Bug-Id: 835

4 years agolibavformat/segment: add an option to write the header to a separate file
Rodger Combs [Sun, 29 Mar 2015 01:25:20 +0000 (19:25 -0600)]
libavformat/segment: add an option to write the header to a separate file

This permits some interesting segmenting techniques with formats like Matroska,
where you can concatenate the header and segments [N, nb_segments) and get
a working file that starts at segment N's start time.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolibavformat/segment: don't leave the list pb open when not in use
Rodger Combs [Sun, 29 Mar 2015 01:25:18 +0000 (19:25 -0600)]
libavformat/segment: don't leave the list pb open when not in use

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolibavformat/hls: add an option to start from a given segment in a live stream
Rodger Combs [Sun, 29 Mar 2015 00:27:35 +0000 (18:27 -0600)]
libavformat/hls: add an option to start from a given segment in a live stream

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge remote-tracking branch 'cehoyos/master'
Michael Niedermayer [Sun, 29 Mar 2015 11:19:46 +0000 (13:19 +0200)]
Merge remote-tracking branch 'cehoyos/master'

* cehoyos/master:
  lavc/h264_refs: Fix compilation with -DTRACE.
  Fix make checkheaders if libmfx is not available.
  lavf/gif: Add an option max_gif_delay to limit the frame duration.

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit '72025ac36c740f031d7e413041fdfe97087c83c4'
Michael Niedermayer [Sun, 29 Mar 2015 10:47:10 +0000 (12:47 +0200)]
Merge commit '72025ac36c740f031d7e413041fdfe97087c83c4'

* commit '72025ac36c740f031d7e413041fdfe97087c83c4':
  lavc: add libdcadec decoder

Conflicts:
Changelog
configure
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/libdcadec.c

See: 519868de7d9c99876efcaf57d6a9683c22732cde
Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolavc/h264_refs: Fix compilation with -DTRACE.
Carl Eugen Hoyos [Sun, 29 Mar 2015 10:34:43 +0000 (12:34 +0200)]
lavc/h264_refs: Fix compilation with -DTRACE.

4 years agoFix make checkheaders if libmfx is not available.
Carl Eugen Hoyos [Sun, 29 Mar 2015 10:34:13 +0000 (12:34 +0200)]
Fix make checkheaders if libmfx is not available.

4 years agolavf/gif: Add an option max_gif_delay to limit the frame duration.
Carl Eugen Hoyos [Sun, 29 Mar 2015 03:14:48 +0000 (05:14 +0200)]
lavf/gif: Add an option max_gif_delay to limit the frame duration.

Allows playback for the sample from ticket #4369 in less than 18 hours.

4 years agoMerge commit '6fe2641d6e410b7bc203138fa97e1118b411f16d'
Michael Niedermayer [Sun, 29 Mar 2015 10:21:24 +0000 (12:21 +0200)]
Merge commit '6fe2641d6e410b7bc203138fa97e1118b411f16d'

* commit '6fe2641d6e410b7bc203138fa97e1118b411f16d':
  lavc: add profile define for DTS Express

Conflicts:
doc/APIchanges
libavcodec/version.h

See: 11fe56c8bbf39cd0c3edbf0cd404dea400ff7e0c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoMerge commit 'c48456166e95648719a8be8f8613f9dee98205c1'
Michael Niedermayer [Sun, 29 Mar 2015 09:32:24 +0000 (11:32 +0200)]
Merge commit 'c48456166e95648719a8be8f8613f9dee98205c1'

* commit 'c48456166e95648719a8be8f8613f9dee98205c1':
  lavc: add MMAL hardware decoder wrapper

Conflicts:
Changelog
configure
doc/APIchanges
libavcodec/Makefile
libavcodec/allcodecs.c
libavcodec/version.h
libavutil/version.h

Merged-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolavc: add libdcadec decoder
Hendrik Leppkes [Mon, 23 Mar 2015 11:45:19 +0000 (12:45 +0100)]
lavc: add libdcadec decoder

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agolavc: add profile define for DTS Express
Hendrik Leppkes [Mon, 23 Mar 2015 11:45:18 +0000 (12:45 +0100)]
lavc: add profile define for DTS Express

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agolavc: add MMAL hardware decoder wrapper
wm4 [Fri, 27 Mar 2015 22:04:08 +0000 (23:04 +0100)]
lavc: add MMAL hardware decoder wrapper

Based on a patch by Rodger Combs.

Signed-off-by: Anton Khirnov <anton@khirnov.net>
4 years agolibavdevice/avfoundation: use pts/dts provided by the CMSampleBuffer API
Matthieu Bouron [Fri, 13 Mar 2015 19:16:55 +0000 (20:16 +0100)]
libavdevice/avfoundation: use pts/dts provided by the CMSampleBuffer API

Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolibavdevice/avfoundation: add capture_mouse_clicks option
Matthieu Bouron [Sat, 7 Mar 2015 21:10:34 +0000 (22:10 +0100)]
libavdevice/avfoundation: add capture_mouse_clicks option

Support mouse clicks capture while recording a screen on OSX >= 10.7.

Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolibavdevice/avfoundation: add capture_cursor option
Matthieu Bouron [Sat, 7 Mar 2015 21:01:03 +0000 (22:01 +0100)]
libavdevice/avfoundation: add capture_cursor option

Add support for cursor capturing while recording a screen for OSX >=
10.8.

Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolibavdevice/avfoundation: add framerate and video size options
Matthieu Bouron [Sat, 7 Mar 2015 20:26:52 +0000 (21:26 +0100)]
libavdevice/avfoundation: add framerate and video size options

Support framerate ands video size options on AVCaptureDevices for
OSX >= 10.7 and iOS >= 7.0.

For screen captures, only the framerate option is taken into account.

Reviewed-by: Thilo Borgmann <thilo.borgmann@mail.de>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoffmpeg_opt: Do not overwrite output if there is no input
Michael Niedermayer [Thu, 26 Mar 2015 23:42:26 +0000 (00:42 +0100)]
ffmpeg_opt: Do not overwrite output if there is no input

Fixes Ticket4254

Reviewed-by: Nicolas George <george@nsup.org>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agolavc/dnxhd: Fix pix_fmt change.
Carl Eugen Hoyos [Sat, 28 Mar 2015 16:36:02 +0000 (17:36 +0100)]
lavc/dnxhd: Fix pix_fmt change.

Fixes ticket #4400.

4 years agopng: Minor whitespace change and added missing comment
Donny Yang [Sat, 28 Mar 2015 15:14:22 +0000 (15:14 +0000)]
png: Minor whitespace change and added missing comment

Signed-off-by: Donny Yang <work@kota.moe>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agopng: Use av_freep() instead of av_free()
Donny Yang [Sat, 28 Mar 2015 15:14:21 +0000 (15:14 +0000)]
png: Use av_freep() instead of av_free()

Signed-off-by: Donny Yang <work@kota.moe>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agofate/filter-video: Use qp filter to generate non constant qp array for more throughou...
Michael Niedermayer [Sat, 28 Mar 2015 14:29:56 +0000 (15:29 +0100)]
fate/filter-video: Use qp filter to generate non constant qp array for more throughout testing of the pp filter

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agovfilter/vf_qp: Support evaluating expression per MB
Michael Niedermayer [Sat, 28 Mar 2015 14:18:58 +0000 (15:18 +0100)]
vfilter/vf_qp: Support evaluating expression per MB

also add support for x/y/w/h parameters

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavfilter/vf_qp: split expression parsing out of loop
Michael Niedermayer [Sat, 28 Mar 2015 14:17:36 +0000 (15:17 +0100)]
avfilter/vf_qp: split expression parsing out of loop

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoaf_channelmap: fix number of channels
Marton Balint [Sat, 28 Mar 2015 09:07:07 +0000 (10:07 +0100)]
af_channelmap: fix number of channels

Fixes segfaults with the following command:

ffmpeg -f lavfi -i aevalsrc=0:c=stereo:n=1920 -af 'channelmap=0' test.ac3

Signed-off-by: Marton Balint <cus@passwd.hu>
Reviewed-by: Marton Balint <cus@passwd.hu>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agoavcodec/qsv_internal: Fix project name
Michael Niedermayer [Sat, 28 Mar 2015 02:42:29 +0000 (03:42 +0100)]
avcodec/qsv_internal: Fix project name

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
4 years agodoc/examples: add directory listing example
Lukasz Marek [Sat, 5 Jul 2014 16:12:04 +0000 (18:12 +0200)]
doc/examples: add directory listing example

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