[FFmpeg-devel] [PATCH 1/2] avformat/mov: if pos has been reset, clear fragments and indexes and search for next root

2024-11-04 Thread vectronic
fixes https://trac.ffmpeg.org/ticket/7359 Signed-off-by: vectronic --- libavformat/mov.c | 39 --- 1 file changed, 36 insertions(+), 3 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 8c3329b815..c994da0f5a 100644 --- a/libavformat/mov.c

[FFmpeg-devel] [PATCH 2/2] avformat/hls: improve comment

2024-11-04 Thread vectronic
Signed-off-by: vectronic --- libavformat/hls.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 62473a15dd..045741c3b4 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -2502,7 +2502,7 @@ static int hls_read_seek

[FFmpeg-devel] [PATCH 0/2] fix for seeking in HLS with FMP4 media

2024-11-04 Thread vectronic
d to be mirrored in the mov demuxer. In mov.c it now detects if the pos has been reset in mov_read_packet(). It clears fragments and indexes and searches for the next root i.e. the next fragment via mov_switch_root(). The second patch in the series simply improves a comment about this behavio

[FFmpeg-devel] [PATCH 1/1] fix: use declared size for attribute of type string to ensure full value used and prevent parse failure for string lengths longer than 256

2022-05-12 Thread vectronic
Signed-off-by: vectronic --- libavcodec/exr.c | 32 +++- 1 file changed, 23 insertions(+), 9 deletions(-) diff --git a/libavcodec/exr.c b/libavcodec/exr.c index 8cd867a32f..bc2afcee53 100644 --- a/libavcodec/exr.c +++ b/libavcodec/exr.c @@ -1912,10 +1912,13 @@ static

[FFmpeg-devel] [PATCH 0/1] avcodec/exr: variable string attribute length

2022-05-12 Thread vectronic
fix: use declared size for attribute of type string to ensure full value used and prevent parse failure for string lengths longer than 256 libavcodec/exr.c | 32 +++- 1 file changed, 23 insertions(+), 9 deletions(-) -- 2.32.0 (Apple Git-132) __

Re: [FFmpeg-devel] [PATCH] avformat/hls: add supporting fMP4(CMAF) format to seek on HLS demuxer

2020-07-16 Thread vectronic
> On 16 Jul 2020, at 10:36, Dongwon Kim wrote: > > > HLS spec RFC 8216(https://tools.ietf.org/html/rfc8216) version 7 added > supporting fMP4(CMAF) format for segment. However, when requesting seek > operation, > the hls demuxer doesn't work properly due to previous implementation of the >

Re: [FFmpeg-devel] [PATCH 0/2] avformat movenc add flag to allow disabling limit on timescale

2020-07-07 Thread vectronic
> On 11 May 2020, at 16:46, Gyan Doshi wrote: > > > > On 11-05-2020 06:44 pm, vectronic wrote: >> >>> On 5 May 2020, at 06:19, Gyan Doshi wrote: >>> >>> >>> >>> On 05-05-2020 03:16 am, vectronic wrote: >>>>>

Re: [FFmpeg-devel] Project orientation

2020-07-07 Thread vectronic
> On 7 Jul 2020, at 12:13, Anton Khirnov wrote: > > Quoting Nicolas George (2020-07-07 12:46:39) >> >> * GMail's warnings about "less secure" applications are scare tactics to >> get you to exclusively use their products, because they cannot feed >> you advertisement when you use a real mail c

Re: [FFmpeg-devel] [PATCH 0/2] avformat movenc add flag to allow disabling limit on timescale

2020-05-11 Thread vectronic
> On 5 May 2020, at 06:19, Gyan Doshi wrote: > > > > On 05-05-2020 03:16 am, vectronic wrote: >> >>> On 4 May 2020, at 17:56, Gyan Doshi wrote: >>> >>> >>> >>> On 04-05-2020 09:54 pm, vectronic wrote: >>>

[FFmpeg-devel] [PATCH V2 1/2] avformat movenc extend video_track_timescale flag range to allow use of video stream timescale for track

2020-05-05 Thread vectronic
Extend range of video_track_timescale flag value to -1 to indicate video stream timescale should be used for track timebase. Add debug message if video_track_timescale is not specified and the video stream timescale is clamped to greater than 1. Signed-off-by: vectronic --- libavformat

[FFmpeg-devel] [PATCH V2 2/2] avformat movenc extend video_track_timescale flag range to allow use of video stream timescale for track

2020-05-05 Thread vectronic
indent Signed-off-by: vectronic --- libavformat/movenc.c | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index bcc0ab4377..989ba5b857 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -6461,11 +6461,11

[FFmpeg-devel] [PATCH V2 0/2] avformat movenc extend video_track_timescale flag to allow use of video stream timescale for track

2020-05-05 Thread vectronic
-video_track_timescale -1 out.mov The previous would be the same behaviour as the following, but it does not rely on the user knowing and specifying the input timebase: ffmpeg -i in.mov -c:v copy -video_track_timescale 600 out.mov vectronic (2): avformat movenc extend video_track_timescale flag

Re: [FFmpeg-devel] [PATCH 0/2] avformat movenc add flag to allow disabling limit on timescale

2020-05-04 Thread vectronic
> On 4 May 2020, at 17:56, Gyan Doshi wrote: > > > > On 04-05-2020 09:54 pm, vectronic wrote: >> I needed to encode to mov/mp4 with a timebase of 1/600 and the output was >> not as expected. > > What was the unexpected output? > > You can use video_

[FFmpeg-devel] [PATCH 0/2] avformat movenc add flag to allow disabling limit on timescale

2020-05-04 Thread vectronic
disable the timebase limit, and in the case that the limit is applied, a debug message is logged to prevent future user confusion. vectronic (2): avformat movenc add flag to disable silent limit on timescale avformat movenc add flag to disable silent limit on timescale libavformat/movenc.c | 8

[FFmpeg-devel] [PATCH 1/2] avformat movenc add flag to disable silent limit on timescale

2020-05-04 Thread vectronic
Add a flag to allow user to disable the forcing of a track timescale to be greater than 1. Log a debug message if the timescale is forced to be greater than 1. Signed-off-by: vectronic --- libavformat/movenc.c | 4 libavformat/movenc.h | 1 + 2 files changed, 5 insertions

[FFmpeg-devel] [PATCH 2/2] avformat movenc add flag to disable silent limit on timescale

2020-05-04 Thread vectronic
Indent Signed-off-by: vectronic --- libavformat/movenc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 143b00063d..ec7e95e838 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -6462,8 +6462,8 @@ static int

[FFmpeg-devel] [PATCH 0/1] avformat hls check discard state of streams always

2020-05-01 Thread vectronic
the streams which were set to be discarded. This patch addresses this issue: The discard state of streams within HLS read packet logic was only checking the discard state when the first packet was read. The first packet has already been read as part of calling avformat_find_stream_info. vectronic

[FFmpeg-devel] [PATCH 1/1] avformat hls check discard state of streams always

2020-05-01 Thread vectronic
ect and unwanted packets were returned by subsequent calls to hls_read_packet. Signed-off-by: vectronic --- libavformat/hls.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index fc45719d1c..0740e9c546 100644 --- a/libavformat/hl

[FFmpeg-devel] [PATCH 0/1] avformat hls restore options dict when retrying with a new connection

2020-04-30 Thread vectronic
as per avio_open2 semantics after open_url_keepalive has failed, the options dictionary will have been modified and needs restoring before attempting a new connection vectronic (1): avformat hls restore options dict when retrying with a new connection libavformat/hls.c | 4 1 file

[FFmpeg-devel] [PATCH 1/1] avformat hls restore options dict when retrying with a new connection

2020-04-30 Thread vectronic
as per avio_open2 semantics after open_url_keepalive has failed, the options dictionary will have been modified and needs restoring before attempting a new connection Signed-off-by: vectronic --- libavformat/hls.c | 4 1 file changed, 4 insertions(+) diff --git a/libavformat/hls.c b

[FFmpeg-devel] [PATCH V4 0/1] ffprobe add closed caption output to stream info

2020-04-29 Thread vectronic
FF_API_LAVF_AVCTX checks - added ffprobe xsd element is boolean vectronic (1): ensure closed caption info which is visible in default stream dump is also available in results when -show_streams is used doc/ffprobe.xsd | 1 + fftools/ffprobe.c

[FFmpeg-devel] [PATCH 1/1] ensure closed caption info which is visible in default stream dump is also available in results when -show_streams is used

2020-04-29 Thread vectronic
Signed-off-by: vectronic --- doc/ffprobe.xsd | 1 + fftools/ffprobe.c | 2 ++ tests/ref/fate/concat-demuxer-extended-lavf-mxf | 2 +- tests/ref/fate/concat-demuxer-extended-lavf-mxf_d10 | 2

Re: [FFmpeg-devel] [PATCH V3 1/1] ensure closed caption info which is visible in default stream dump is also available in results when -show_streams is used

2020-04-25 Thread vectronic
> On 25 Apr 2020, at 09:08, Marton Balint wrote: > > > > On Fri, 24 Apr 2020, vectronic wrote: > >> Signed-off-by: vectronic >> --- >> doc/ffprobe.xsd | 1 + >> fftools/ffprobe.c

[FFmpeg-devel] [PATCH V3 1/1] ensure closed caption info which is visible in default stream dump is also available in results when -show_streams is used

2020-04-24 Thread vectronic
Signed-off-by: vectronic --- doc/ffprobe.xsd | 1 + fftools/ffprobe.c | 2 ++ tests/ref/fate/concat-demuxer-extended-lavf-mxf | 2 +- tests/ref/fate/concat-demuxer-extended-lavf-mxf_d10 | 2

[FFmpeg-devel] [PATCH V3 0/1] ffprobe add closed caption output to stream info

2020-04-24 Thread vectronic
sorry, missed all the changes in the last version... trying again... ensure closed caption info which is visible in default stream dump is also available in results when -show_streams is used and update test references for closed_caption output in ffprobe stream results vectronic (1): ensure

[FFmpeg-devel] [PATCH V2 0/1] ffprobe add closed caption output to stream info

2020-04-24 Thread vectronic
ensure closed caption info which is visible in default stream dump is also available in results when -show_streams is used and update test references for closed_caption output in ffprobe stream results vectronic (1): ensure closed caption info which is visible in default stream dump is also

[FFmpeg-devel] [PATCH V2 1/1] ensure closed caption info which is visible in default stream dump is also available in results when -show_streams is used

2020-04-24 Thread vectronic
Signed-off-by: vectronic --- doc/ffprobe.xsd | 1 + tests/ref/fate/concat-demuxer-extended-lavf-mxf | 2 +- tests/ref/fate/concat-demuxer-extended-lavf-mxf_d10 | 2 +- tests/ref/fate/concat-demuxer-simple1-lavf-mxf| 2

[FFmpeg-devel] [PATCH 2/2] fate: update test references for closed_caption output in ffprobe stream results

2020-04-24 Thread vectronic
Signed-off-by: vectronic --- tests/ref/fate/concat-demuxer-extended-lavf-mxf | 2 +- tests/ref/fate/concat-demuxer-extended-lavf-mxf_d10 | 2 +- tests/ref/fate/concat-demuxer-simple1-lavf-mxf| 2 +- tests/ref/fate/concat-demuxer-simple1-lavf-mxf_d10| 2

[FFmpeg-devel] [PATCH 0/2] ffprobe add closed caption output to stream info

2020-04-24 Thread vectronic
closed caption presence is detected with ffprobe and output as part of av_dump_format() however it is not included in output from -show_streams this add closed_captions=0 or 1 to the stream info output and updates fate test results. vectronic (2): tools ffprobe: add closed caption output to

[FFmpeg-devel] [PATCH 1/2] tools ffprobe: add closed caption output to stream info

2020-04-24 Thread vectronic
ensure closed caption info which is visible in default stream dump is also available in results when -show_streams is used Signed-off-by: vectronic --- fftools/ffprobe.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/fftools/ffprobe.c b/fftools/ffprobe.c index 840fcb71e2..f0916cbd70

[FFmpeg-devel] [PATCH 2/2] avformat mov fix to detect if stream position has been reset

2020-04-24 Thread vectronic
if pos has been reset, clear fragments and indexes and search for next root Signed-off-by: vectronic --- libavformat/mov.c | 36 +--- 1 file changed, 33 insertions(+), 3 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 3d6fef685d..8f051fb9b1

[FFmpeg-devel] [PATCH 1/2] avformat hls fix to seek logic

2020-04-24 Thread vectronic
ensure a keyframe is returned if AVSEEK_FLAG_ANY is not specified Signed-off-by: vectronic --- libavformat/hls.c | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index fc45719d1c..4e59142c99 100644 --- a/libavformat/hls.c +++ b

[FFmpeg-devel] [PATCH 0/2] fix for seeking in HLS with TS/FMP4 media

2020-04-24 Thread vectronic
;Skipping after seek\n"); /* seek detected, flush pes buffer */ This behaviour needed to be mirrored in the mov demuxer. In mov.c it now detects if the pos has been reset in mov_read_packet(). It clears fragments and indexes and searches for the next root i.e. the next fragment via mo

Re: [FFmpeg-devel] [PATCH 1/1] avformat/http: handle SEEK_SET to filesize

2020-04-24 Thread vectronic
> On 24 Apr 2020, at 12:09, vectronic wrote: > > if whence == SEEK_SET and offset is filesize and is_streamable is false > we can just return the filesize to prevent an HTTP 416 error > > Signed-off-by: vectronic > --- > libavformat/http.c | 2 +- > 1 file changed,

[FFmpeg-devel] [PATCH 1/1] avformat/http: handle SEEK_SET to filesize

2020-04-24 Thread vectronic
if whence == SEEK_SET and offset is filesize and is_streamable is false we can just return the filesize to prevent an HTTP 416 error Signed-off-by: vectronic --- libavformat/http.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index

[FFmpeg-devel] [PATCH 0/1] avformat/http: handle SEEK_SET to filesize and fix #6885

2020-04-24 Thread vectronic
if whence == SEEK_SET and offset is filesize and is_streamable is false we can just return the filesize to prevent an HTTP 416 error Fixes https://trac.ffmpeg.org/ticket/6885 vectronic (1): avformat/http: handle SEEK_SET to filesize libavformat/http.c | 2 +- 1 file changed, 1 insertion

Re: [FFmpeg-devel] [PATCH 0/5] adding ICC profile support to MOV decode/encode

2019-10-07 Thread vectronic
> On 23 Sep 2019, at 21:43, vectronic wrote: > > As discussed earlier on this mailing list, I needed to implement support for > reading and writing ICC profiles which can be stored in MOV/MP4 sample > descriptor colour information. > > The overall changes are: > &

[FFmpeg-devel] [PATCH 1/1] [PATCH] avformat/hls: fix missing segment offset reset on last segment when http_multiple is enabled.

2019-10-04 Thread vectronic
Signed-off-by: vectronic --- libavformat/hls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/hls.c b/libavformat/hls.c index 336608fa2d..d7f4d5b442 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -1449,6 +1449,7 @@ reload: if (c->http_multiple == 1 &

[FFmpeg-devel] [PATCH 0/1] avformat/hls: fix missing data from last segment of HLS+fMP4 when using http_multiple

2019-10-04 Thread vectronic
When using http_multiple with HLS and fragmented MP4 media, the last segment is attempted to be read without resetting the current segment offset to 0. the previous segments last offset was thus used which meant an invalid portion of the last segment was being read. vectronic (1): avformat

[FFmpeg-devel] [PATCH 0/2] avformat/hls: fix demux of HLS+fMP4 when using persistent HTTP connections

2019-10-04 Thread vectronic
The offset of a playlist segment into a fragmented MP4 file was being ignored when using support for persistent HTTP connections. To allow passing of the segment offsets a new ff_http_do_new_request2() method is introduced. vectronic (2): avformat/http: add ff_http_do_new_request2() which

[FFmpeg-devel] [PATCH 1/2] [PATCH 1/2] avformat/http: add ff_http_do_new_request2() which supports options to be applied to HTTPContext after initialisation with the new uri

2019-10-04 Thread vectronic
Signed-off-by: vectronic --- libavformat/http.c | 8 +++- libavformat/http.h | 13 + 2 files changed, 20 insertions(+), 1 deletion(-) diff --git a/libavformat/http.c b/libavformat/http.c index 71dd6c2b1f..85cbd06092 100644 --- a/libavformat/http.c +++ b/libavformat/http.c

[FFmpeg-devel] [PATCH 2/2] [PATCH 2/2] avformat/hls: pass http offset options to http request made with persistent connections to prevent incorrect reset of offset when demuxing HLS+FMP4

2019-10-04 Thread vectronic
Signed-off-by: vectronic --- libavformat/hls.c | 8 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libavformat/hls.c b/libavformat/hls.c index 0611ddc6bb..336608fa2d 100644 --- a/libavformat/hls.c +++ b/libavformat/hls.c @@ -594,7 +594,7 @@ static int ensure_playlist

[FFmpeg-devel] [PATCH 1/5] API: add AV_PKT_DATA_ICC_PROFILE to AVPacketSideDataType

2019-09-23 Thread vectronic
Signed-off-by: vectronic --- libavcodec/avcodec.h | 6 ++ libavcodec/avpacket.c | 1 + libavcodec/decode.c | 1 + libavformat/dump.c| 3 +++ 4 files changed, 11 insertions(+) diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h index c91ee4af5b..7d341f85a6 100644 --- a/libavcodec

[FFmpeg-devel] [PATCH 4/5] avformat/mov: whitespace indent

2019-09-23 Thread vectronic
Signed-off-by: vectronic --- libavformat/mov.c | 52 +++ 1 file changed, 26 insertions(+), 26 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index b0331d3c96..af1227c89e 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c

[FFmpeg-devel] [PATCH 5/5] avformat/movenc: add ICC profile support to colr atom. If 'write_colr' movflag is set, then movflag 'prefer_icc' can be used to first look for an AV_PKT_DATA_ICC_PROFILE ent

2019-09-23 Thread vectronic
Signed-off-by: vectronic --- libavformat/movenc.c | 23 +-- libavformat/movenc.h | 1 + 2 files changed, 22 insertions(+), 2 deletions(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index c824ff5ba1..390dd64e2b 100644 --- a/libavformat/movenc.c +++ b

[FFmpeg-devel] [PATCH 3/5] avformat/mov: add ICC profile support for colr atom

2019-09-23 Thread vectronic
Signed-off-by: vectronic --- libavformat/mov.c | 15 +-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/libavformat/mov.c b/libavformat/mov.c index 1533c35a1d..b0331d3c96 100644 --- a/libavformat/mov.c +++ b/libavformat/mov.c @@ -1544,6 +1544,7 @@ static int

[FFmpeg-devel] [PATCH 0/5] adding ICC profile support to MOV decode/encode

2019-09-23 Thread vectronic
ICC profile if it exists. 3. Use av_stream_get_side_data() when writing to the MOV/MP4 in libavformat/moveenc.c => mov_write_colr_tag() to write ICC profile it it exists. Added a movflag 'prefer_icc' to ensure backwards compatible behaviour of 'write_colr' movflag.

[FFmpeg-devel] [PATCH 2/5] DOC: add AV_PKT_DATA_ICC_PROFILE to API changes

2019-09-23 Thread vectronic
Signed-off-by: vectronic --- doc/APIchanges | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/APIchanges b/doc/APIchanges index 80558a49c7..7328f24911 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -15,6 +15,9 @@ libavutil: 2017-10-21 API changes, most recent first: +2019

Re: [FFmpeg-devel] [PATCH V3 2/2] avformat/dashdec: fix segfault when parsing segmentlist

2019-09-23 Thread vectronic
> On 16 Sep 2019, at 11:44, vectronic wrote: > > index into segmentlists_tab was specified as 4 instead of 3 causing invalid > access > > further fix to: 8135 > > Signed-off-by: vectronic > --- > libavformat/dashdec.c | 2 +- > 1 file changed, 1 insertion(+)

Re: [FFmpeg-devel] [PATCH V3 1/2] avformat/dashdec: fix pointer being freed was not allocated

2019-09-20 Thread vectronic
> On 16 Sep 2019, at 11:55, Liu Steven wrote: > > > >> 在 2019年9月16日,下午6:44,vectronic 写道: >> >> prevent attempt to call xmlFree if val was not allocated >> >> fixes: 8135 >> Signed-off-by: vectronic >> --- >> libavformat/dashdec

Re: [FFmpeg-devel] Adding ICC profile support to MOV decode/encode

2019-09-19 Thread vectronic
> On 18 Sep 2019, at 18:43, Derek Buitenhuis wrote: > > On 18/09/2019 17:29, Hello Vectronic wrote: >> And here is an example file: http://vectronic.io/icc-profile/icc-profile.mov >> >> And here is the relevant standard: >> https://standards.iso.or

Re: [FFmpeg-devel] Adding ICC profile support to MOV decode/encode

2019-09-18 Thread Hello Vectronic
> On 18 Sep 2019, at 15:27, Derek Buitenhuis wrote: > > On 18/09/2019 10:30, Hello Vectronic wrote: >> I need to implement support for reading and writing ICC profiles which can >> be stored in MOV/MP4 sample descriptor colour information. > > Does anything exi

Re: [FFmpeg-devel] Adding ICC profile support to MOV decode/encode

2019-09-18 Thread Hello Vectronic
> On 18 Sep 2019, at 11:09, Hendrik Leppkes wrote: > > On Wed, Sep 18, 2019 at 11:37 AM Hello Vectronic > wrote: >> >> Hello, >> >> I need to implement support for reading and writing ICC profiles which can >> be stored in MOV/MP4 sample descript

[FFmpeg-devel] Adding ICC profile support to MOV decode/encode

2019-09-18 Thread Hello Vectronic
would like to eventually submit as a patch. Thanks very much, vectronic ___ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

[FFmpeg-devel] [PATCH V3 2/2] avformat/dashdec: fix segfault when parsing segmentlist

2019-09-16 Thread vectronic
index into segmentlists_tab was specified as 4 instead of 3 causing invalid access further fix to: 8135 Signed-off-by: vectronic --- libavformat/dashdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 738bfeaefb

[FFmpeg-devel] [PATCH V3 1/2] avformat/dashdec: fix pointer being freed was not allocated

2019-09-16 Thread vectronic
prevent attempt to call xmlFree if val was not allocated fixes: 8135 Signed-off-by: vectronic --- libavformat/dashdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 8c0a9b0102..738bfeaefb 100644 --- a/libavformat/dashdec.c +++ b

[FFmpeg-devel] [PATCH V2] avformat/dashdec: fix pointer being freed was not allocated

2019-09-13 Thread vectronic
prevent attempt to call xmlFree if val was not allocated fixes: 8135 Signed-off-by: vectronic --- libavformat/dashdec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 4f725ba09a..4753477fd9 100644 --- a/libavformat/dashdec.c +++ b

[FFmpeg-devel] [PATCH] avformat/dashdec: fix range parsing causing issues with http byte range requests

2019-09-13 Thread vectronic
data size calculation was off by one as per DASH SPEC which references RFC 7233. this was then used in http byte range request causing data corruption when parsing media files referenced in manifest fixes: 8136 Signed-off-by: vectronic --- libavformat/dashdec.c | 2 +- 1 file changed, 1

[FFmpeg-devel] [PATCH] avformat/dashdec: fix segfault when parsing segmentlist

2019-09-13 Thread vectronic
index into segmentlists_tab was specified as 4 instead of 3 causing invalid access further fix to: 7976 Signed-off-by: vectronic --- libavformat/dashdec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 4f725ba09a

[FFmpeg-devel] [PATCH] avformat/dashdec: fix pointer being freed was not allocated

2019-09-13 Thread vectronic
prevent attempt to call xmlFree if val was not allocated fixes: 8135 Signed-off-by: vectronic --- libavformat/dashdec.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 4f725ba09a..8022ba9afe 100644 --- a/libavformat

[FFmpeg-devel] [PATCH] avformat/dashdec: fix pointer being freed was not allocated

2019-09-13 Thread vectronic
prevent attempt to call xmlFree if val was not allocated fixes: 8135 Signed-off-by: vectronic --- libavformat/dashdec.c | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/libavformat/dashdec.c b/libavformat/dashdec.c index 4f725ba09a..8022ba9afe 100644 --- a/libavformat