[FFmpeg-devel] [PATCH 1/2] hevcdec: Miss the location of chroma samples when exporting stream parameters

2018-05-16 Thread Haihao Xiang
Signed-off-by: Haihao Xiang --- libavcodec/hevcdec.c | 5 + 1 file changed, 5 insertions(+) diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c index c8877626d2..13d868bb4f 100644 --- a/libavcodec/hevcdec.c +++ b/libavcodec/hevcdec.c @@ -344,6 +344,11 @@ static void export_stream_params

[FFmpeg-devel] [PATCH 2/2] ffmpeg: Use the colour properties from the input stream when doing transcode

2018-05-16 Thread Haihao Xiang
In lavc/hevec_vaapi, colour properties in AVCodecContext are needed to write the sequence header Tested by the command below: ffmpeg -hwaccel vaapi -hwaccel_device /dev/dri/renderD128 -hwaccel_output_format vaapi -i input-with-hdr.mkv -c:v hevc_vaapi -profile:v main10 output.h265 Signed-off-by: H

Re: [FFmpeg-devel] [PATCH] avcodec/xwddec: fix palette alpha

2018-05-16 Thread Paul B Mahol
On 5/15/18, Marton Balint wrote: > Signed-off-by: Marton Balint > --- > libavcodec/xwddec.c | 2 +- > tests/ref/lavf/xwd | 4 ++-- > 2 files changed, 3 insertions(+), 3 deletions(-) LGTM ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ff

Re: [FFmpeg-devel] [PATCH] avformat: Fix errors in version script list

2018-05-16 Thread Hendrik Leppkes
On Wed, May 16, 2018 at 2:39 AM, Peter Bennett wrote: > From: Peter Bennett > > libavformat.v has url_open, url_close and url_write. These > should be ffurl_ in each case. > --- > libavformat/libavformat.v | 6 +++--- > 1 file changed, 3 insertions(+), 3 deletions(-) > > diff --git a/libavformat

Re: [FFmpeg-devel] [PATCH 1/2] hevcdec: Miss the location of chroma samples when exporting stream parameters

2018-05-16 Thread Hendrik Leppkes
On Wed, May 16, 2018 at 9:19 AM, Haihao Xiang wrote: > Signed-off-by: Haihao Xiang > --- > libavcodec/hevcdec.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c > index c8877626d2..13d868bb4f 100644 > --- a/libavcodec/hevcdec.c > +++ b/lib

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread Tomas Härdin
ons 2018-05-16 klockan 10:18 +0800 skrev Zhao Zhili: > The av_err2str macro in libavutil/error.h use compound literal: > > #define av_err2str(errnum) \ > av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0},  > AV_ERROR_MAX_STRING_SIZE, errnum) > > C++ compiler may not support it or trea

Re: [FFmpeg-devel] [PATCH 1/2] hevcdec: Miss the location of chroma samples when exporting stream parameters

2018-05-16 Thread Xiang, Haihao
On Wed, 2018-05-16 at 10:17 +0200, Hendrik Leppkes wrote: > On Wed, May 16, 2018 at 9:19 AM, Haihao Xiang wrote: > > Signed-off-by: Haihao Xiang > > --- > > libavcodec/hevcdec.c | 5 + > > 1 file changed, 5 insertions(+) > > > > diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c > > i

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread Tobias Rapp
On 16.05.2018 10:29, Tomas Härdin wrote: ons 2018-05-16 klockan 10:18 +0800 skrev Zhao Zhili: The av_err2str macro in libavutil/error.h use compound literal: #define av_err2str(errnum) \ av_make_error_string((char[AV_ERROR_MAX_STRING_SIZE]){0}, AV_ERROR_MAX_STRING_SIZE, errnum) C++ compi

Re: [FFmpeg-devel] [PATCH 1/2] hevcdec: Miss the location of chroma samples when exporting stream parameters

2018-05-16 Thread Hendrik Leppkes
On Wed, May 16, 2018 at 10:49 AM, Xiang, Haihao wrote: > On Wed, 2018-05-16 at 10:17 +0200, Hendrik Leppkes wrote: >> On Wed, May 16, 2018 at 9:19 AM, Haihao Xiang wrote: >> > Signed-off-by: Haihao Xiang >> > --- >> > libavcodec/hevcdec.c | 5 + >> > 1 file changed, 5 insertions(+) >> > >>

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread Tomas Härdin
ons 2018-05-16 klockan 11:16 +0200 skrev Tobias Rapp: > On 16.05.2018 10:29, Tomas Härdin wrote: > > ons 2018-05-16 klockan 10:18 +0800 skrev Zhao Zhili: > > > The av_err2str macro in libavutil/error.h use compound literal: > > > > > > #define av_err2str(errnum) \ > > >   av_make_error_string(

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread Tobias Rapp
On 16.05.2018 11:27, Tomas Härdin wrote: ons 2018-05-16 klockan 11:16 +0200 skrev Tobias Rapp: On 16.05.2018 10:29, Tomas Härdin wrote: ons 2018-05-16 klockan 10:18 +0800 skrev Zhao Zhili: The av_err2str macro in libavutil/error.h use compound literal: #define av_err2str(errnum) \   av_m

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread Steinar H. Gunderson
On Wed, May 16, 2018 at 11:41:23AM +0200, Tobias Rapp wrote: > Yes, I am referring to usage of the libavutil headers in C. If the macro is > only hidden for C++ and available in C, that would be OK for me. But if the > static inline function variant would support both C and C++, this would look > l

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread Zhao Zhili
On 2018年05月16日 17:47, Steinar H. Gunderson wrote: On Wed, May 16, 2018 at 11:41:23AM +0200, Tobias Rapp wrote: Yes, I am referring to usage of the libavutil headers in C. If the macro is only hidden for C++ and available in C, that would be OK for me. But if the static inline function variant w

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread Tomas Härdin
ons 2018-05-16 klockan 11:47 +0200 skrev Steinar H. Gunderson: > On Wed, May 16, 2018 at 11:41:23AM +0200, Tobias Rapp wrote: > > Yes, I am referring to usage of the libavutil headers in C. If the macro is > > only hidden for C++ and available in C, that would be OK for me. But if the > > static in

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread Steinar H. Gunderson
On Wed, May 16, 2018 at 12:41:05PM +0200, Tomas Härdin wrote: > This comes up every now and then, and I know there was great opposition > to it previously from people who have since left the project. If you're > willing to be the person officially dealing with all "C++-isms" in the > headers then I

Re: [FFmpeg-devel] [RFC][ALT PATCHES] Code of Conduct Enforcement

2018-05-16 Thread Derek Buitenhuis
On Mon, May 14, 2018 at 5:50 PM, Derek Buitenhuis wrote: > This is a little rambling / stream of thought, but take it as you will, > and perhaps some discussion or change comes of it. Or, more likely, personal > attacks, flames, and no change. Or 1 few will reply and then the thread will > die and

Re: [FFmpeg-devel] [RFC][ALT PATCHES] Code of Conduct Enforcement

2018-05-16 Thread James Almer
On 5/16/2018 11:07 AM, Derek Buitenhuis wrote: > On Mon, May 14, 2018 at 5:50 PM, Derek Buitenhuis > wrote: >> This is a little rambling / stream of thought, but take it as you will, >> and perhaps some discussion or change comes of it. Or, more likely, personal >> attacks, flames, and no change.

Re: [FFmpeg-devel] [RFC][ALT PATCHES] Code of Conduct Enforcement

2018-05-16 Thread Derek Buitenhuis
On Wed, May 16, 2018 at 3:25 PM, James Almer wrote: > I think the issue is not the lack of clear enforcement rules, but a lack > of a proactive enforcer, be it a person or a body. The CoC has done > nothing but give people something to say when they want to be passive > aggressive in a discussion.

Re: [FFmpeg-devel] [RFC][ALT PATCHES] Code of Conduct Enforcement

2018-05-16 Thread Hendrik Leppkes
On Wed, May 16, 2018 at 4:25 PM, James Almer wrote: > On 5/16/2018 11:07 AM, Derek Buitenhuis wrote: >> On Mon, May 14, 2018 at 5:50 PM, Derek Buitenhuis >> wrote: >>> This is a little rambling / stream of thought, but take it as you will, >>> and perhaps some discussion or change comes of it. Or

Re: [FFmpeg-devel] [RFC][ALT PATCHES] Code of Conduct Enforcement

2018-05-16 Thread Thomas Volkert
On 16.05.2018 17:14, Hendrik Leppkes wrote: > On Wed, May 16, 2018 at 4:25 PM, James Almer wrote: >> On 5/16/2018 11:07 AM, Derek Buitenhuis wrote: >>> On Mon, May 14, 2018 at 5:50 PM, Derek Buitenhuis >>> wrote: This is a little rambling / stream of thought, but take it as you will,

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread Nicolas George
Tomas Härdin (2018-05-16): > However, it might > be nicer to make that a static inline function, if possible. Not possible, it has to be a macro. But macros do not cause compatibility problems. Regards, -- Nicolas George signature.asc Des

Re: [FFmpeg-devel] [RFC][ALT PATCHES] Code of Conduct Enforcement

2018-05-16 Thread Derek Buitenhuis
On Wed, May 16, 2018 at 4:42 PM, Thomas Volkert wrote: >> Maybe the solution should be something that does not require all those >> people to convene everytime there is some petty trolling going on >> again. > Yes. Suggestions welcome... >> There is a big difference between "not caring" and not

Re: [FFmpeg-devel] [RFC][ALT PATCHES] Code of Conduct Enforcement

2018-05-16 Thread Ronald S. Bultje
Hi, On Wed, May 16, 2018 at 10:07 AM, Derek Buitenhuis < derek.buitenh...@gmail.com> wrote: > On Mon, May 14, 2018 at 5:50 PM, Derek Buitenhuis > wrote: > > This is a little rambling / stream of thought, but take it as you will, > > and perhaps some discussion or change comes of it. Or, more lik

[FFmpeg-devel] [PATCH] cmdutils - don't search for option 'default'

2018-05-16 Thread Gyan Doshi
From 20a0544d66b5b3b9ebc3e03049a134d13706bda9 Mon Sep 17 00:00:00 2001 From: Gyan Doshi Date: Wed, 16 May 2018 20:18:30 +0530 Subject: [PATCH] cmdutils - don't search for option 'default' The option 'default' was removed in af4b1c02acf6923489d30349c4813a0d73b2f114 - Dec 20 2012. --- fftools/cm

[FFmpeg-devel] [PATCH] avformat/hls: tag as AVFMT_TS_DISCONT

2018-05-16 Thread Aman Gupta
From: Aman Gupta HLS streams can contain discontinuities. Mark the format as such. This triggers various discontinuity fixes in lavf/utils.c and fftools Signed-off-by: Aman Gupta --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hls.c b/liba

Re: [FFmpeg-devel] [RFC][ALT PATCHES] Code of Conduct Enforcement

2018-05-16 Thread wm4
On Wed, 16 May 2018 15:44:36 +0100 Derek Buitenhuis wrote: > On Wed, May 16, 2018 at 3:25 PM, James Almer wrote: > > I think the issue is not the lack of clear enforcement rules, but a lack > > of a proactive enforcer, be it a person or a body. The CoC has done > > nothing but give people someth

Re: [FFmpeg-devel] [PATCH] avformat: Fix errors in version script list

2018-05-16 Thread wm4
On Wed, 16 May 2018 10:13:44 +0200 Hendrik Leppkes wrote: > On Wed, May 16, 2018 at 2:39 AM, Peter Bennett wrote: > > From: Peter Bennett > > > > libavformat.v has url_open, url_close and url_write. These > > should be ffurl_ in each case. > > --- > > libavformat/libavformat.v | 6 +++--- > >

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread wm4
On Wed, 16 May 2018 17:58:46 +0800 Zhao Zhili wrote: > On 2018年05月16日 17:47, Steinar H. Gunderson wrote: > > On Wed, May 16, 2018 at 11:41:23AM +0200, Tobias Rapp wrote: > >> Yes, I am referring to usage of the libavutil headers in C. If the macro is > >> only hidden for C++ and available in C,

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread wm4
On Wed, 16 May 2018 11:47:36 +0200 "Steinar H. Gunderson" wrote: > On Wed, May 16, 2018 at 11:41:23AM +0200, Tobias Rapp wrote: > > Yes, I am referring to usage of the libavutil headers in C. If the macro is > > only hidden for C++ and available in C, that would be OK for me. But if the > > stati

Re: [FFmpeg-devel] [PATCH 1/2] hevcdec: Miss the location of chroma samples when exporting stream parameters

2018-05-16 Thread wm4
On Wed, 16 May 2018 15:19:44 +0800 Haihao Xiang wrote: > Signed-off-by: Haihao Xiang > --- > libavcodec/hevcdec.c | 5 + > 1 file changed, 5 insertions(+) > > diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c > index c8877626d2..13d868bb4f 100644 > --- a/libavcodec/hevcdec.c > +++ b

Re: [FFmpeg-devel] [PATCH] avformat/hls: tag as AVFMT_TS_DISCONT

2018-05-16 Thread wm4
On Wed, 16 May 2018 10:17:58 -0700 Aman Gupta wrote: > From: Aman Gupta > > HLS streams can contain discontinuities. Mark the format as such. > > This triggers various discontinuity fixes in lavf/utils.c and fftools > > Signed-off-by: Aman Gupta > --- > libavformat/hls.c | 2 +- > 1 file ch

Re: [FFmpeg-devel] [RFC][ALT PATCHES] Code of Conduct Enforcement

2018-05-16 Thread Jorge Ramirez-Ortiz
On 05/16/2018 08:06 PM, wm4 wrote: I actually don't have much of a solution to the "nobody willing to step up" problem, though, no. The offical documents should at least reflect that reality then, though. A CoC that is ignored, is not a CoC. True, in that case it's better to remove the CoC becau

Re: [FFmpeg-devel] [PATCH 1/2] hevcdec: Miss the location of chroma samples when exporting stream parameters

2018-05-16 Thread Hendrik Leppkes
On Wed, May 16, 2018 at 8:11 PM, wm4 wrote: > On Wed, 16 May 2018 15:19:44 +0800 > Haihao Xiang wrote: > >> Signed-off-by: Haihao Xiang >> --- >> libavcodec/hevcdec.c | 5 + >> 1 file changed, 5 insertions(+) >> >> diff --git a/libavcodec/hevcdec.c b/libavcodec/hevcdec.c >> index c8877626d2

Re: [FFmpeg-devel] [PATCH] avformat/hls: tag as AVFMT_TS_DISCONT

2018-05-16 Thread Aman Gupta
On Wed, May 16, 2018 at 11:14 AM, wm4 wrote: > On Wed, 16 May 2018 10:17:58 -0700 > Aman Gupta wrote: > > > From: Aman Gupta > > > > HLS streams can contain discontinuities. Mark the format as such. > > > > This triggers various discontinuity fixes in lavf/utils.c and fftools > > > > Signed-off

Re: [FFmpeg-devel] [PATCH] avformat/hls: tag as AVFMT_TS_DISCONT

2018-05-16 Thread wm4
On Wed, 16 May 2018 11:45:58 -0700 Aman Gupta wrote: > On Wed, May 16, 2018 at 11:14 AM, wm4 wrote: > > > On Wed, 16 May 2018 10:17:58 -0700 > > Aman Gupta wrote: > > > > > From: Aman Gupta > > > > > > HLS streams can contain discontinuities. Mark the format as such. > > > > > > This trigge

[FFmpeg-devel] [PATCH v3] configure: error out on unsupported MSVC versions

2018-05-16 Thread Rostislav Pehlivanov
The FATE tests for MSVC versions older than 2013 are untested in FATE and apparently are no longer supported. This commit makes the configure process error out in case an older version is used, and suggests to use a supported version of MSVC to compile. This also changes the documentation to refl

Re: [FFmpeg-devel] [PATCH] avformat: add skip_estimate_duration_from_pts

2018-05-16 Thread Michael Niedermayer
On Tue, May 15, 2018 at 04:06:24PM -0700, Aman Gupta wrote: > From: Aman Gupta > > For seekable mpegts streams, duration is calculated from > pts by seeking to the end of the file for a pts and subtracting > the initial pts to compute a duration. > > This can be expensive in terms of added laten

Re: [FFmpeg-devel] [PATCH] avformat/mpegts: tag video streams with still images

2018-05-16 Thread Michael Niedermayer
On Tue, May 15, 2018 at 11:29:47AM -0700, Aman Gupta wrote: > From: Aman Gupta > > Parses the video_stream_descriptor (H.222 2.6.2) to look > for the still_picture_flag. This is exposed to the user > via a new AV_DISPOSITION_STILL_IMAGE. > > See for example https://tmm1.s3.amazonaws.com/music-ch

Re: [FFmpeg-devel] [PATCH] fftools/ffmpeg: Fallback to duration if sample rate is unavailable

2018-05-16 Thread Michael Niedermayer
On Wed, May 02, 2018 at 02:57:11AM +0200, wm4 wrote: > On Tue, 1 May 2018 22:44:07 +0200 > Michael Niedermayer wrote: > > > Regression since: af1761f7 > > Fixes: Division by 0 > > Fixes: ffmpeg_crash_1 > > > > Found-by: Thuan Pham, Marcel Böhme, Andrew Santosa and Alexandru Razvan > > Caciules

Re: [FFmpeg-devel] [PATCH 1/3] avcodec/g2meet: Check RGB upper limit

2018-05-16 Thread Michael Niedermayer
On Sun, Apr 29, 2018 at 06:44:23PM +0200, Tomas Härdin wrote: > sön 2018-04-29 klockan 16:41 +0200 skrev Michael Niedermayer: > > On Fri, Apr 27, 2018 at 09:44:05PM +0200, Michael Niedermayer wrote: > > > Fixes: runtime error: left shift of 1876744317 by 16 places cannot > > > be represented in typ

Re: [FFmpeg-devel] [PATCH] avcodec/xwddec: fix palette alpha

2018-05-16 Thread Marton Balint
On Wed, 16 May 2018, Paul B Mahol wrote: On 5/15/18, Marton Balint wrote: Signed-off-by: Marton Balint --- libavcodec/xwddec.c | 2 +- tests/ref/lavf/xwd | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) LGTM Thanks, applied. Regards, Marton _

Re: [FFmpeg-devel] [PATCH 4/5] avcodec/mpeg4videodec: Do not corrupt bits_per_raw_sample

2018-05-16 Thread Michael Niedermayer
On Sun, Apr 29, 2018 at 08:26:47PM +, Kieran Kunhya wrote: > On Sun, 29 Apr 2018 at 20:20 Michael Niedermayer > wrote: > > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/mpeg4videodec.c | 8 +--- > > 1 file changed, 5 insertions(+), 3 deletions(-) > > > > OK will apply (

Re: [FFmpeg-devel] [PATCH 5/5] avcodec/mpeg4videodec: Check bps (VOL header) before VOP for studio profile

2018-05-16 Thread Michael Niedermayer
On Sun, Apr 29, 2018 at 09:19:18PM +0200, Michael Niedermayer wrote: > Fixes: runtime error: shift exponent -1 is negative > Fixes: > 7486/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MPEG4_fuzzer-4977380939530240 > > Fixes: runtime error: index 36 out of bounds for type 'const uint8_t [32]'

Re: [FFmpeg-devel] [PATCH 3/3] avcodec/mpeg4video: Detect reference studio streams as studio streams

2018-05-16 Thread Michael Niedermayer
On Sun, Apr 29, 2018 at 11:21:58PM +, Kieran Kunhya wrote: > On Sun, 29 Apr 2018 at 22:57 Michael Niedermayer > wrote: > > > Signed-off-by: Michael Niedermayer > > --- > > libavcodec/mpeg4video.h| 2 ++ > > libavcodec/mpeg4videodec.c | 25 - > > 2 files changed,

Re: [FFmpeg-devel] [PATCH] avcodec/fic: Check available input space for cursor

2018-05-16 Thread Michael Niedermayer
On Sun, May 06, 2018 at 12:47:25AM +0200, Michael Niedermayer wrote: > On Sat, May 05, 2018 at 11:12:06PM +0200, Paul B Mahol wrote: > > On 5/5/18, wm4 wrote: > > > On Sat, 5 May 2018 22:47:37 +0200 > > > Michael Niedermayer wrote: > > > > > >> Fixes: out of array read > > >> Fixes: > > >> 6546/

Re: [FFmpeg-devel] [PATCH 2/2] avcodec/dirac_dwt: Fix integer overflow in COMPOSE_DD97iH0 / COMPOSE_DD137iL0

2018-05-16 Thread Michael Niedermayer
On Mon, May 14, 2018 at 01:07:56AM +0200, Michael Niedermayer wrote: > Fixes: negation of -2147483648 cannot be represented in type 'int32_t' (aka > 'int'); > Fixes: > 6500/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_DIRAC_fuzzer-4523620274536448 > > Found-by: continuous fuzzing process >

Re: [FFmpeg-devel] compound literal in public header file

2018-05-16 Thread Carl Eugen Hoyos
2018-05-16 11:47 GMT+02:00, Steinar H. Gunderson : > On Wed, May 16, 2018 at 11:41:23AM +0200, Tobias Rapp wrote: >> Yes, I am referring to usage of the libavutil headers in C. If the macro >> is >> only hidden for C++ and available in C, that would be OK for me. But if >> the >> static inline func

Re: [FFmpeg-devel] [RFC][ALT PATCHES] Code of Conduct Enforcement

2018-05-16 Thread Michael Niedermayer
On Wed, May 16, 2018 at 11:25:01AM -0300, James Almer wrote: > On 5/16/2018 11:07 AM, Derek Buitenhuis wrote: > > On Mon, May 14, 2018 at 5:50 PM, Derek Buitenhuis > > wrote: > >> This is a little rambling / stream of thought, but take it as you will, > >> and perhaps some discussion or change com

[FFmpeg-devel] [PATCH] fftools/ffmpeg: Check AVPacket->duration for being positive not just non zero

2018-05-16 Thread Michael Niedermayer
Some demuxers (mov, microdvd at least) set duration negative. Signed-off-by: Michael Niedermayer --- fftools/ffmpeg.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/fftools/ffmpeg.c b/fftools/ffmpeg.c index 5a19a09d9a..3aa2175b5d 100644 --- a/fftools/ffmpeg.c +++ b/fftoo

[FFmpeg-devel] [PATCH] avutil/error: hidden macro av_err2str for C++

2018-05-16 Thread Zhao Zhili
--- libavutil/error.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/libavutil/error.h b/libavutil/error.h index 71df4da..8a35fef 100644 --- a/libavutil/error.h +++ b/libavutil/error.h @@ -116,8 +116,10 @@ static inline char *av_make_error_string(char *errbuf, size_t errbuf_size, int e *

Re: [FFmpeg-devel] [PATCH] avutil/error: hidden macro av_err2str for C++

2018-05-16 Thread Rostislav Pehlivanov
On 17 May 2018 at 05:46, Zhao Zhili wrote: > --- > libavutil/error.h | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavutil/error.h b/libavutil/error.h > index 71df4da..8a35fef 100644 > --- a/libavutil/error.h > +++ b/libavutil/error.h > @@ -116,8 +116,10 @@ static inline char *av_

Re: [FFmpeg-devel] [PATCH 1/5] examples/filtering_video: fix memory leak

2018-05-16 Thread Zhao Zhili
On 2018年05月14日 20:17, Zhao Zhili wrote: From: Zhao Zhili --- doc/examples/filtering_video.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/examples/filtering_video.c b/doc/examples/filtering_video.c index 38ff9bb..225dccc 100644 --- a/doc/examples/filtering_vide

Re: [FFmpeg-devel] [PATCH 1/2] hevcdec: Miss the location of chroma samples when exporting stream parameters

2018-05-16 Thread Xiang, Haihao
On Wed, 2018-05-16 at 11:27 +0200, Hendrik Leppkes wrote: > On Wed, May 16, 2018 at 10:49 AM, Xiang, Haihao > wrote: > > On Wed, 2018-05-16 at 10:17 +0200, Hendrik Leppkes wrote: > > > On Wed, May 16, 2018 at 9:19 AM, Haihao Xiang > > > wrote: > > > > Signed-off-by: Haihao Xiang > > > > --- > >

[FFmpeg-devel] [PATCH] add support for parsing pssh box

2018-05-16 Thread Zewu Chen
Use structure AVEncryptionInitInfo to provide CENC initialization information for the application. Signed-off-by: Chen Zewu --- libavformat/isom.h | 1 + libavformat/mov.c | 64 ++ 2 files changed, 65 insertions(+) diff --git a/libavformat/i