[FFmpeg-devel] I just ran FATE. Did the tests pass?

2017-11-13 Thread Jim DeLaHunt
Hello, I just checked out the FFmpeg master branch, compiled, and ran FATE. I followed instructions in . make fate-rsync SAMPLES=fate-suite/ make fate   SAMPLES=fate-suite/ This printed out many lines, ending in: TEST    mxf-probe-dnxhd TEST   

[FFmpeg-devel] [PATCH] movenc-test: fix potential uninitialized read

2017-11-13 Thread Timo Rothenpieler
Fixes CID #1413023 --- libavformat/tests/movenc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/tests/movenc.c b/libavformat/tests/movenc.c index 8e59b74259..ad6c92a94c 100644 --- a/libavformat/tests/movenc.c +++ b/libavformat/tests/movenc.c @@ -115,6 +115,7 @@ static int

[FFmpeg-devel] [PATCH] avformat/fitsenc: validate input pixel format

2017-11-13 Thread Timo Rothenpieler
Fixes CID #1416961 and #1416962 --- libavformat/fitsenc.c | 6 +- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/libavformat/fitsenc.c b/libavformat/fitsenc.c index 7cb171596c..cc3999aa8a 100644 --- a/libavformat/fitsenc.c +++ b/libavformat/fitsenc.c @@ -106,6 +106,8 @@ static

Re: [FFmpeg-devel] configure: ERROR: x265 not found using pkg-config

2017-11-13 Thread Mark Himsley
On 12 November 2017 at 20:38, Mateusz wrote: > W dniu 12.11.2017 o 20:35, Helmut K. C. Tessarek pisze: >> I get the following error during configure: >> >> ERROR: x265 not found using pkg-config >> >> My last compile run (3 days ago) worked perfectly. Somebody must have

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: creation of hls variant streams with master playlist in a single hlsenc instance

2017-11-13 Thread 刘歧
> 在 2017年11月8日,18:02,Dixit, Vishwanath 写道: > > I have added the copyright statement as per our legal team requirements. I > have updated the patches again. Please consider the patches in this mail > attachment as latest. Sorry for any inconvenience. > > Regards, >

Re: [FFmpeg-devel] [PATCH 9/9] avfilter/signature_lookup: fix potential uninitialized reads

2017-11-13 Thread Timo Rothenpieler
Am 08.11.2017 um 19:17 schrieb Timo Rothenpieler: Fixes CID #1403238 and #1403239 --- libavfilter/signature_lookup.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ping I'm not fully certain if this is the right fix, or if there is a logic error in the quite complex code. Gonna

Re: [FFmpeg-devel] I just ran FATE. Did the tests pass?

2017-11-13 Thread Timo Rothenpieler
If there's no error, it passed. smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add myself as videotoolbox* maintainer

2017-11-13 Thread Rick Kern
On 11/12/2017 05:16 PM, Aman Gupta wrote: From: Aman Gupta --- MAINTAINERS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/MAINTAINERS b/MAINTAINERS index 4df6c6533d..6a92b5190d 100644 --- a/MAINTAINERS +++ b/MAINTAINERS @@ -245,7 +245,7 @@ Codecs:

[FFmpeg-devel] [PATCH 1/3] qsvenc: move cavlc out of common option

2017-11-13 Thread Zhong Li
CAVLC option is only available for h264 encoding. CABAC is the only entropy coding way for hevc. Signed-off-by: Zhong Li --- libavcodec/qsvenc.h | 3 +-- libavcodec/qsvenc_h264.c | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/qsvenc.h

[FFmpeg-devel] [PATCH 2/3] qsv/h264enc: fix cavlc option setting useless issue

2017-11-13 Thread Zhong Li
No matter cavlc option is set to 0 or 1, the output bitstream is always cabac mode. Reproduce: -y -s widthxheight -i widthxheight.yuv -vcodec h264_qsv -b:v 2000k -maxrate 2000k -look_ahead 0 -cavlc 1 test.h264 Then check the entropy_coding_mode_flag of the encoded bitstream It is due to the

[FFmpeg-devel] [PATCH 3/3] qsvenc: cavlc and pic_timing_sei are only available for h264

2017-11-13 Thread Zhong Li
Signed-off-by: Zhong Li --- libavcodec/qsvenc.c | 20 ++-- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/libavcodec/qsvenc.c b/libavcodec/qsvenc.c index 2259a79..c45b2a6 100644 --- a/libavcodec/qsvenc.c +++ b/libavcodec/qsvenc.c @@ -532,22

Re: [FFmpeg-devel] [PATCH] avutil: add API for mb_types

2017-11-13 Thread Moritz Barsnick
On Sun, Nov 12, 2017 at 00:21:54 +0100, Michael Niedermayer wrote: Some nitpicking, since it's doxygen: > +#define AV_BLOCK_TYPE_FLAG_INTRA 0x001///< Block is a intra > block, else inter ^ an > +#define

[FFmpeg-devel] [PATCH] lavc/libvpxenc: add tune-content option

2017-11-13 Thread James Zern
Signed-off-by: James Zern --- doc/encoders.texi | 2 ++ libavcodec/libvpxenc.c | 20 2 files changed, 22 insertions(+) diff --git a/doc/encoders.texi b/doc/encoders.texi index 431777c457..23451b7b92 100644 --- a/doc/encoders.texi +++

Re: [FFmpeg-devel] check size of stsc allocation

2017-11-13 Thread Carl Eugen Hoyos
2017-11-14 2:08 GMT+01:00 Fredrik Hubinette : > +if (((size_t)entries) * 12 + 4 > atom.size) This gets much more readable if the cast is to uint64_t. And I guess not all the parenthesis are necessary. It seems your mailer has eaten the patch, send it as

Re: [FFmpeg-devel] [PATCH] lavc/libvpxenc: add tune-content option

2017-11-13 Thread James Zern
On Mon, Nov 13, 2017 at 4:43 PM, James Almer wrote: > On 11/13/2017 9:01 PM, James Zern wrote: >> Signed-off-by: James Zern >> --- >> doc/encoders.texi | 2 ++ >> libavcodec/libvpxenc.c | 20 >> 2 files changed, 22 insertions(+) >>

[FFmpeg-devel] [PATCH] avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD137iL0()

2017-11-13 Thread Michael Niedermayer
Fixes: 4035/clusterfuzz-testcase-minimized-6479308925173760 Fixes: runtime error: signed integer overflow: 9 * 402653183 cannot be represented in type 'int' Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg Signed-off-by: Michael Niedermayer

Re: [FFmpeg-devel] avcodec/hapqa_extract_bsf : add bsf filter for haqqa (to hapq or hapalpha only) conversion (WIP)

2017-11-13 Thread Carl Eugen Hoyos
2017-11-13 22:43 GMT+01:00 Martin Vignali : > In attach patch to add a new bitstream filter > > The goal is to convert HAPQA file to HAPQ (removing alpha) > or HAPAlphaOnly (remove rgb) Could you explain the usecase? Carl Eugen

Re: [FFmpeg-devel] [PATCH] avformat/hlsenc: write fmp4 init header after first AV frame

2017-11-13 Thread 刘歧
> 在 2017年11月13日,06:35,Aman Gupta 写道: > > On Sun, Nov 12, 2017 at 5:29 AM, Steven Liu wrote: > >> fix ticket id: 6825 >> >> Signed-off-by: Steven Liu >> --- >> libavformat/hlsenc.c | 28 +--- >> 1 file

Re: [FFmpeg-devel] [PATCH] avutil/crc: use ff_thread_once at av_crc_get_table

2017-11-13 Thread Muhammad Faiz
On Sun, Nov 12, 2017 at 8:28 PM, Muhammad Faiz wrote: > On Wed, Nov 1, 2017 at 12:37 AM, Muhammad Faiz wrote: >> On Mon, Oct 30, 2017 at 8:07 PM, Michael Niedermayer >> wrote: >>> On Mon, Oct 30, 2017 at 02:14:35PM +0700, Muhammad Faiz

Re: [FFmpeg-devel] [PATCH] lavc/libvpxenc: add tune-content option

2017-11-13 Thread James Almer
On 11/13/2017 9:01 PM, James Zern wrote: > Signed-off-by: James Zern > --- > doc/encoders.texi | 2 ++ > libavcodec/libvpxenc.c | 20 > 2 files changed, 22 insertions(+) > > diff --git a/doc/encoders.texi b/doc/encoders.texi > index

[FFmpeg-devel] check size of stsc allocation

2017-11-13 Thread Fredrik Hubinette
This patch checks that the memory allocated for stsc entries isn't larger than the atom. Without this, corrupt data can easily try to allocate all the memory, causing a crash. --- libavformat/mov.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavformat/mov.c

Re: [FFmpeg-devel] [PATCH] aacenc: WIP support for PCEs

2017-11-13 Thread Carl Eugen Hoyos
2017-11-09 9:01 GMT+01:00 pkv.stream : > 1) there are changes to make to the list of channel layouts not requiring > PCE > > ==> AV_CH_LAYOUT_5POINT0 to AV_CH_LAYOUT_5POINT0_BACK since the previous is > 5.0(side) while the latter is 5.0 which is what is in spec (table 1.19 >

Re: [FFmpeg-devel] [PATCH] lavf/mov.c: Don't correct edit list start to zero, when we can't find a frame before edit list start. After c2a8f0fcbe57ea9ccaa864130f078af10516c3c1 this can happen on norma

2017-11-13 Thread Sasi Inguva
Forgot the fate REF file. Sending the full patch again. On Mon, Nov 13, 2017 at 4:15 PM, Sasi Inguva wrote: > Signed-off-by: Sasi Inguva > --- > libavformat/mov.c | 4 +--- > tests/fate/mov.mak | 6 ++ > 2 files changed, 7 insertions(+), 3 deletions(-)

[FFmpeg-devel] [PATCH] lavf/mov.c: Guess video codec delay based on PTS while parsing MOV header.

2017-11-13 Thread Sasi Inguva
Signed-off-by: Sasi Inguva --- libavformat/mov.c| 48 tests/fate/mov.mak | 5 + tests/ref/fate/mov-guess-delay-1 | 3 +++ tests/ref/fate/mov-guess-delay-2 | 3 +++ 4 files changed, 59 insertions(+)

[FFmpeg-devel] [PATCH] lavf/mov.c: Don't correct edit list start to zero, when we can't find a frame before edit list start. After c2a8f0fcbe57ea9ccaa864130f078af10516c3c1 this can happen on normal ed

2017-11-13 Thread Sasi Inguva
Signed-off-by: Sasi Inguva --- libavformat/mov.c | 4 +--- tests/fate/mov.mak | 6 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index fd170baa57..79023ef369 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@

[FFmpeg-devel] [PATCH] lavf/mov.c: Don't correct edit list start to zero, when we can't find a frame before edit list start. After c2a8f0fcbe57ea9ccaa864130f078af10516c3c1 this can happen on normal ed

2017-11-13 Thread Sasi Inguva
Signed-off-by: Sasi Inguva --- libavformat/mov.c| 4 +- tests/fate/mov.mak | 6 + tests/ref/fate/mov-bbi-elst-starts-b | 391 +++ 3 files changed, 398 insertions(+), 3 deletions(-) create mode 100644

Re: [FFmpeg-devel] [PATCH] avcodec/x86/mpegvideodsp: Fix signedness bug in need_emu

2017-11-13 Thread Michael Niedermayer
On Mon, Nov 13, 2017 at 09:47:15PM +0100, Michael Niedermayer wrote: > Fixes: out of array read > Fixes: 3516/attachment-311488.dat > > Found-by: Insu Yun, Georgia Tech. > Signed-off-by: Michael Niedermayer Tested-by: wuni...@gmail.com will apply [...] -- Michael

Re: [FFmpeg-devel] libavcodec/hap : add HapAlphaOnly decoding/encoding

2017-11-13 Thread Carl Eugen Hoyos
2017-11-13 20:06 GMT+01:00 Martin Vignali : > Can we make a choice for the pix fmt to use for this codec ? You have explained to me on October 7th which solution is the one that users expect and that makes using the feature easiest. Considering solutions that are less

Re: [FFmpeg-devel] libavcodec/als: remove check for predictor order of a block

2017-11-13 Thread Umair Khan
Hi, On Tue, Nov 14, 2017 at 4:05 AM, Carl Eugen Hoyos wrote: > 2017-11-13 6:41 GMT+01:00 Umair Khan : >> Hi, >> >> On Mon, Nov 13, 2017 at 1:09 AM, Carl Eugen Hoyos wrote: >>> 2017-11-12 20:30 GMT+01:00 Umair Khan :

Re: [FFmpeg-devel] [PATCH] Add android_capture indev

2017-11-13 Thread Felix Matouschek
Ping ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avcodec/mips: Improve hevc non-uni hz and vt mc msa functions

2017-11-13 Thread Manojkumar Bhosale
LGTM -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of kaustubh.ra...@imgtec.com Sent: Thursday, November 9, 2017 3:40 PM To: ffmpeg-devel@ffmpeg.org Cc: Kaustubh Raste Subject: [FFmpeg-devel] [PATCH] avcodec/mips: Improve hevc non-uni hz and vt

Re: [FFmpeg-devel] [PATCH] avcodec/mips: cleanup unused macros

2017-11-13 Thread Manojkumar Bhosale
LGTM -Original Message- From: ffmpeg-devel [mailto:ffmpeg-devel-boun...@ffmpeg.org] On Behalf Of kaustubh.ra...@imgtec.com Sent: Thursday, November 9, 2017 10:47 AM To: ffmpeg-devel@ffmpeg.org Cc: Kaustubh Raste Subject: [FFmpeg-devel] [PATCH] avcodec/mips: cleanup unused macros From:

Re: [FFmpeg-devel] avcodec/qsvenc Question for Intel QSV low latency

2017-11-13 Thread Moritz Barsnick
On Mon, Nov 13, 2017 at 14:13:15 +0900, Natsuki Kai wrote: > Oh sorry, I don't understand how to do well yet... [...] > -q->async_fifo = av_fifo_alloc((1 + q->async_depth) * > +q->async_fifo = av_fifo_alloc((q->async_depth) * >(sizeof(AVPacket) + >

[FFmpeg-devel] [PATCH] fate/mov: add test for overlapping fragments

2017-11-13 Thread John Stebbins
--- tests/fate/mov.mak | 4 ++ tests/ref/fate/mov-frag-overlap | 105 2 files changed, 109 insertions(+) create mode 100644 tests/ref/fate/mov-frag-overlap diff --git a/tests/fate/mov.mak b/tests/fate/mov.mak index 01893a0767..1d20892e2f

[FFmpeg-devel] fate/mov overlapping fragments

2017-11-13 Thread John Stebbins
The sample required by the following patch cand be downloaded here: https://john.stebbins.name/owncloud/index.php/s/Tyw7MM6WdRBcljA/download ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] libavcodec/als: remove check for predictor order of a block

2017-11-13 Thread Thilo Borgmann
Hi, > On Mon, Nov 13, 2017 at 1:09 AM, Carl Eugen Hoyos wrote: >> 2017-11-12 20:30 GMT+01:00 Umair Khan : >>> Hi, >>> >>> On Mon, Nov 13, 2017 at 12:45 AM, Carl Eugen Hoyos >>> wrote: 2017-11-12 20:05 GMT+01:00 Umair Khan

Re: [FFmpeg-devel] [PATCH] MAINTAINERS: add myself as videotoolbox* maintainer

2017-11-13 Thread Michael Niedermayer
On Mon, Nov 13, 2017 at 06:50:54AM -0500, Rick Kern wrote: > > > On 11/12/2017 05:16 PM, Aman Gupta wrote: > >From: Aman Gupta > > > >--- > > MAINTAINERS | 4 ++-- > > 1 file changed, 2 insertions(+), 2 deletions(-) > > > >diff --git a/MAINTAINERS b/MAINTAINERS > >index

Re: [FFmpeg-devel] [PATCH 1/4] avcodec/snowdec: Fix integer overflow in header parsing

2017-11-13 Thread Michael Niedermayer
On Sun, Nov 05, 2017 at 09:20:05PM +0100, Michael Niedermayer wrote: > Fixes: 3984/clusterfuzz-testcase-minimized-5265759929368576 > Fixes: runtime error: signed integer overflow: -1085585801 + -1094995529 > cannot be represented in type 'int' > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] fate/magicyuv : add test for magicyuv encoding

2017-11-13 Thread Martin Vignali
2017-11-07 21:52 GMT+01:00 Paul B Mahol : > On 11/7/17, Martin Vignali wrote: > > Hello, > > > > Patch in attach add tests for magicyuv encoding (for the 3 prediction > > (left, median, gradient)) > > > >

Re: [FFmpeg-devel] [PATCH 08/11] avcodec/v210enc: add AVX-512 10-bit line pack function

2017-11-13 Thread James Darnley
On 2017-11-10 22:13, James Darnley wrote: > The IRC log should appear at the link below. >> https://lists.ffmpeg.org/pipermail/ffmpeg-devel-irc/2017-November/004651.html Of course when I try to predict what number an email will get based on the past few it ends up being out of order. The

Re: [FFmpeg-devel] [PATCH] avformat/fitsenc: validate input pixel format

2017-11-13 Thread Timo Rothenpieler
applied smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 1/9] lavfi/paletteuse: check get_color return value

2017-11-13 Thread Timo Rothenpieler
applied smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH] avcodec: implement vp9 nvdec hwaccel

2017-11-13 Thread Timo Rothenpieler
applied smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 7/9] avfilter/vf_premultiply: fix memory-leak on failure

2017-11-13 Thread Timo Rothenpieler
applied smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] [PATCH 08/11] avcodec/v210enc: add AVX-512 10-bit line pack function

2017-11-13 Thread Martin Vignali
2017-11-10 22:13 GMT+01:00 James Darnley : > On 2017-11-10 14:32, James Darnley wrote: > > I mentioned previously that using ZMM registers will cause the CPU to > > reduce its frequency. > > > > Gramner said on IRC that a user should spend 20-30% of time in > > AVX-512/ZMM code

Re: [FFmpeg-devel] libavcodec/als: remove check for predictor order of a block

2017-11-13 Thread Umair Khan
Hi, On Mon, Nov 13, 2017 at 11:06 PM, Thilo Borgmann wrote: > Hi, > >> On Mon, Nov 13, 2017 at 1:09 AM, Carl Eugen Hoyos wrote: >>> 2017-11-12 20:30 GMT+01:00 Umair Khan : Hi, On Mon, Nov 13, 2017 at 12:45 AM, Carl

Re: [FFmpeg-devel] libavcodec/hap : add HapAlphaOnly decoding/encoding

2017-11-13 Thread Martin Vignali
2017-10-16 16:37 GMT+02:00 Tom Butterworth : > > >> Patches 0001, 0002, 0006 and 0007 LGTM and are uncontentious. As they > are > >> required for Hap Q Alpha support I will commit these shortly, assuming > >> nobody objects. > >> > >> > > Ok for that, so we can discuss in

Re: [FFmpeg-devel] libavcodec/hapdec : add support for hapqa decoding

2017-11-13 Thread Martin Vignali
2017-10-21 21:37 GMT+02:00 Carl Eugen Hoyos : > 2017-10-21 21:32 GMT+02:00 Martin Vignali : > > 2017-10-21 21:23 GMT+02:00 Carl Eugen Hoyos : > > > >> 2017-10-21 19:35 GMT+02:00 Martin Vignali : > >> >

Re: [FFmpeg-devel] [PATCH] movenc-test: fix potential uninitialized read

2017-11-13 Thread Timo Rothenpieler
applied smime.p7s Description: S/MIME Cryptographic Signature ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Re: [FFmpeg-devel] libavcodec/als: remove check for predictor order of a block

2017-11-13 Thread Thilo Borgmann
Am 13.11.17 um 20:02 schrieb Umair Khan: > Hi, > > On Mon, Nov 13, 2017 at 11:06 PM, Thilo Borgmann > wrote: >> Hi, >> >>> On Mon, Nov 13, 2017 at 1:09 AM, Carl Eugen Hoyos >>> wrote: 2017-11-12 20:30 GMT+01:00 Umair Khan :

Re: [FFmpeg-devel] libavcodec/als: remove check for predictor order of a block

2017-11-13 Thread Thilo Borgmann
Am 13.11.17 um 21:06 schrieb Thilo Borgmann: > Am 13.11.17 um 20:02 schrieb Umair Khan: >> Hi, >> >> On Mon, Nov 13, 2017 at 11:06 PM, Thilo Borgmann >> wrote: >>> Hi, >>> On Mon, Nov 13, 2017 at 1:09 AM, Carl Eugen Hoyos wrote: >

[FFmpeg-devel] How to do (HEVC) decoder fallback?

2017-11-13 Thread John Cox
Hi I have an HEVC decoder built from the standard ffmpeg hevc decoder. It has been heavily optimised for the Raspberry Pi and uses the support processors (QPU & VPU) of that chip to achieve plausible speed (on a Pi3 it can normally decode 10Mbit/sec 30fps 8-bit 4:2:0 1080p and has a decent go at

Re: [FFmpeg-devel] [PATCH] Remove REP_RET usage throughout x86 asm files

2017-11-13 Thread Henrik Gramner
On Sun, Nov 12, 2017 at 9:59 PM, Rostislav Pehlivanov wrote: > No longer needed as AUTO_REP_RET deals with it on normal RETs. Only when the RET follows a branch instruction. If it's a branch target (that isn't by itself preceded by a branch instruction) there is no way of

Re: [FFmpeg-devel] How to do (HEVC) decoder fallback?

2017-11-13 Thread Carl Eugen Hoyos
2017-11-13 16:41 GMT+01:00 John Cox : > As it stands the code is built into the main hevc decoder > code with a lot of ifdefs & if (rpi_enable), but I think it would > be better off in its own decoder. If you want to look at the > current state of the art then you can find it

Re: [FFmpeg-devel] Added HW H.264 and HEVC encoding for AMD GPUs based on AMF SDK

2017-11-13 Thread Mironov, Mikhail
> > +res = ctx->factory->pVtbl->CreateContext(ctx->factory, >context); > > +AMF_RETURN_IF_FALSE(ctx, res == AMF_OK, AVERROR_UNKNOWN, > "CreateContext() failed with error %d\n", res); > > +// try to reuse existing DX device > > +if (avctx->hw_frames_ctx) { > > +

[FFmpeg-devel] [PATCH] avformat/http: fix chunked response w/ multiple_requests=1

2017-11-13 Thread Aman Gupta
From: Aman Gupta Currently if you use the multiple_requests=1 option and try to receive a chunked-encoded response, http_buf_read() will hang forever. After this patch, EOF is emulated once a 0-byte final chunk is received by setting a new flag. This flag is reset in

[FFmpeg-devel] [PATCH] avcodec/x86/mpegvideodsp: Fix signedness bug in need_emu

2017-11-13 Thread Michael Niedermayer
Fixes: out of array read Fixes: 3516/attachment-311488.dat Found-by: Insu Yun, Georgia Tech. Signed-off-by: Michael Niedermayer --- libavcodec/x86/mpegvideodsp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/libavcodec/x86/mpegvideodsp.c

Re: [FFmpeg-devel] [PATCH 2/2] lavf/tls_securetransport: build on iOS

2017-11-13 Thread Aman Gupta
On Wed, Oct 25, 2017 at 11:15 AM, Aman Gupta wrote: > From: Aman Gupta > > This works as expected on iOS, except for the ca_file feature which > is disabled because SecItemImport is not available. > --- > configure | 6 +- >

[FFmpeg-devel] avcodec/hapqa_extract_bsf : add bsf filter for haqqa (to hapq or hapalpha only) conversion (WIP)

2017-11-13 Thread Martin Vignali
Hello, In attach patch to add a new bitstream filter The goal is to convert HAPQA file to HAPQ (removing alpha) or HAPAlphaOnly (remove rgb) HAPQA data, is separate in two part, one for RGB data and one for alpha data so we can make the conversion without losses, by copying the right part.

[FFmpeg-devel] [PATCH] avformat/tcp: enable TCP_NODELAY by default

2017-11-13 Thread Aman Gupta
From: Aman Gupta --- libavformat/network.h | 1 + libavformat/tcp.c | 5 + 2 files changed, 6 insertions(+) diff --git a/libavformat/network.h b/libavformat/network.h index f83c796a95..b78e3ad6ed 100644 --- a/libavformat/network.h +++ b/libavformat/network.h @@ -59,6

Re: [FFmpeg-devel] [PATCH] avformat/tcp: enable TCP_NODELAY by default

2017-11-13 Thread Nicolas George
Le tridi 23 brumaire, an CCXXVI, Aman Gupta a écrit : > From: Aman Gupta > > --- > libavformat/network.h | 1 + > libavformat/tcp.c | 5 + > 2 files changed, 6 insertions(+) Why? Regards, -- Nicolas George signature.asc Description: Digital signature

Re: [FFmpeg-devel] [PATCH] avformat/tcp: enable TCP_NODELAY by default

2017-11-13 Thread Aman Gupta
On Mon, Nov 13, 2017 at 12:37 PM, Nicolas George wrote: > Le tridi 23 brumaire, an CCXXVI, Aman Gupta a écrit : > > From: Aman Gupta > > > > --- > > libavformat/network.h | 1 + > > libavformat/tcp.c | 5 + > > 2 files changed, 6 insertions(+) > > Why? >

Re: [FFmpeg-devel] Avoid corrupting diagnostic state with _Pragma changes.

2017-11-13 Thread Dale Curtis
Ping? On Fri, Nov 3, 2017 at 5:13 PM, Dale Curtis wrote: > The macros for ICC and MSVC correctly push and pop the diagnostic > state of the compiler when disabling deprecation warnings. The > ones for clang/gcc should do the same. Without this, if a blanket >

Re: [FFmpeg-devel] libavcodec/als: remove check for predictor order of a block

2017-11-13 Thread Carl Eugen Hoyos
2017-11-13 6:41 GMT+01:00 Umair Khan : > Hi, > > On Mon, Nov 13, 2017 at 1:09 AM, Carl Eugen Hoyos wrote: >> 2017-11-12 20:30 GMT+01:00 Umair Khan : >>> Hi, >>> >>> On Mon, Nov 13, 2017 at 12:45 AM, Carl Eugen Hoyos

Re: [FFmpeg-devel] [PATCH v4 14/14] avcodec/videotoolbox: fix whitespace

2017-11-13 Thread Aman Gupta
On Fri, Nov 10, 2017 at 1:50 PM, Rodger Combs wrote: > Patchset LGTM. > Patchset applied. Thanks for the review. > > > On Nov 10, 2017, at 15:40, Aman Gupta wrote: > > > > From: Aman Gupta > > > > --- > > libavcodec/videotoolbox.c | 4