[FFmpeg-cvslog] lavf/srt: fix build fail when used the libsrt 1.4.1

2020-09-20 Thread Jun Zhao
ffmpeg | branch: release/4.3 | Jun Zhao | Sun Jul 12 13:48:48 2020 +0800| [6d886b6586bbc169525c84ce798c654f2fa8013a] | committer: Jun Zhao lavf/srt: fix build fail when used the libsrt 1.4.1 libsrt changed the: SRTO_SMOOTHER -> SRTO_CONGESTION SRTO_STRICTENC -> SRTO_ENFORCEDENCRYPTION and r

[FFmpeg-cvslog] avformat/dashdec: Free subtitle representations on exit

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 02:37:05 2020 +0200| [eb344862e4a5493900d2120952f95fb26805350c] | committer: Andreas Rheinhardt avformat/dashdec: Free subtitle representations on exit Reviewed-by: Steven Liu Signed-off-by: Andreas Rheinhardt > http://git.videolan.o

[FFmpeg-cvslog] avformat/dashdec: Remove dead code

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 18 23:50:53 2020 +0200| [248ef276beb8222bc2610484b830420e1a306d8b] | committer: Andreas Rheinhardt avformat/dashdec: Remove dead code The code in question seems to have been copied from about 70 lines above; yet the code here is only execu

[FFmpeg-cvslog] avformat/dashdec: Fix memleak on allocation error, avoid allocation

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 7 18:14:47 2020 +0200| [0f9ade1ff395cfaf51f9a7ecc1ed725339aa1426] | committer: Andreas Rheinhardt avformat/dashdec: Fix memleak on allocation error, avoid allocation get_content_url() allocates two buffers for temporary strings and when o

[FFmpeg-cvslog] avformat/dashdec: Fix leak of string on error when parsing representation

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 06:32:42 2020 +0200| [e7aea1fe7304352c4b5359159700ab4957b10449] | committer: Andreas Rheinhardt avformat/dashdec: Fix leak of string on error when parsing representation The DASH demuxer currently extracts several strings at once from a

[FFmpeg-cvslog] avformat/dashdec: Remove redundant checks

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 10:27:34 2020 +0200| [622efc5c83fd77dff52242a9a503cd8dcee8e36f] | committer: Andreas Rheinhardt avformat/dashdec: Remove redundant checks This commit removes two always-true checks as well as a dead default case of a switch. The check w

[FFmpeg-cvslog] avformat/dashdec, hls: Update correct pointer to AVDictionary

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 7 20:49:02 2020 +0200| [ac2852d7958622322c69d68212d96fe41a595001] | committer: Andreas Rheinhardt avformat/dashdec, hls: Update correct pointer to AVDictionary open_url() in the DASH as well in the hls demuxer share a common bug: They mod

[FFmpeg-cvslog] avformat/dashdec: Avoid duplicating string

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 7 18:46:32 2020 +0200| [1aee02c7c13ffd30135cac7d3d0c2fafdc922dc4] | committer: Andreas Rheinhardt avformat/dashdec: Avoid duplicating string Reviewed-by: Steven Liu Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi

[FFmpeg-cvslog] avformat/dashdec: Don't overwrite and leak old initialization fragments

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 01:04:32 2020 +0200| [17963a6ad7e41312312b32a4ce590abb9805f799] | committer: Andreas Rheinhardt avformat/dashdec: Don't overwrite and leak old initialization fragments Reviewed-by: Steven Liu Signed-off-by: Andreas Rheinhardt > http:

[FFmpeg-cvslog] avformat/dashdec: Fix memleaks on error to add representation to dynarray

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 08:52:41 2020 +0200| [d63f8c873bd65f4dfab852069fb5faf07cffe6aa] | committer: Andreas Rheinhardt avformat/dashdec: Fix memleaks on error to add representation to dynarray Up until now, the DASH demuxer used av_dynarray_add() to add audio

[FFmpeg-cvslog] avformat/dashdec: Fix leak of AVDictionary on error

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 7 20:36:25 2020 +0200| [4b8fdf70a87b9d3d60f4c78bd9a5c294f524032c] | committer: Andreas Rheinhardt avformat/dashdec: Fix leak of AVDictionary on error Just postpone the allocation of the dict until it is really needed (after the checks tha

[FFmpeg-cvslog] avformat/dashdec: Cosmetics

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 12:32:27 2020 +0200| [ed948c114971c7a5f710741a48a7ca2ef455b35f] | committer: Andreas Rheinhardt avformat/dashdec: Cosmetics 1. Perform the necessary reindentations after the last few commits. 2. Adapt switches to the ordinary indentatio

[FFmpeg-cvslog] avformat/dashdec: Return early for unsupported representations

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 12:08:00 2020 +0200| [0389625cea6192c1e9c2f43640c171cef31b0c42] | committer: Andreas Rheinhardt avformat/dashdec: Return early for unsupported representations This allows to reduce the level of indentation for parsing the supported repr

[FFmpeg-cvslog] avformat/dashdec: Remove redundant casts to const

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 7 19:15:59 2020 +0200| [f921dd0ccf64703c96d114b7c723f245ddb6115a] | committer: Andreas Rheinhardt avformat/dashdec: Remove redundant casts to const Reviewed-by: Steven Liu Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/git

[FFmpeg-cvslog] avformat/dashdec: Remove unused index of representation

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 7 20:06:23 2020 +0200| [5d63f154efb0a59b614dc8fff049086f9355a358] | committer: Andreas Rheinhardt avformat/dashdec: Remove unused index of representation It is always zero. Also remove other unused elements. Reviewed-by: Steven Liu Sign

[FFmpeg-cvslog] avformat/dashdec: Check allocation of AVProgram

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 13:14:12 2020 +0200| [aed96e13c1dafd44a6995f23fadd9f64e90547d4] | committer: Andreas Rheinhardt avformat/dashdec: Check allocation of AVProgram Reviewed-by: Steven Liu Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitwe

[FFmpeg-cvslog] avformat/dashdec: Fix leak of representation on error

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 04:28:47 2020 +0200| [5c91701dc7f46975f9fb714d30c70a81dc0ce90a] | committer: Andreas Rheinhardt avformat/dashdec: Fix leak of representation on error If parsing a representation fails, it is not added to the list of representations and

[FFmpeg-cvslog] avformat/dashdec: Free strings as soon as they aren't needed anymore

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 7 19:25:22 2020 +0200| [7369e952676595b1ccf1e707e741f6c1f05481aa] | committer: Andreas Rheinhardt avformat/dashdec: Free strings as soon as they aren't needed anymore Reviewed-by: Steven Liu Signed-off-by: Andreas Rheinhardt > http://g

[FFmpeg-cvslog] avformat/dashdec: Fix leak of representation languages

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 07:01:30 2020 +0200| [f1c3c173c9408085d7b26f3bdd264b426bca314a] | committer: Andreas Rheinhardt avformat/dashdec: Fix leak of representation languages These languages are normally freed after having been added as metadata to their respe

[FFmpeg-cvslog] avformat/dashdec: Don't leave representation in inconsistent state on error

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 7 20:32:51 2020 +0200| [01a4c3596942dad396834fea155173590687c59d] | committer: Andreas Rheinhardt avformat/dashdec: Don't leave representation in inconsistent state on error This currently doesn't cause any trouble, because the only calle

[FFmpeg-cvslog] avformat/dashdec: Fix memleaks upon read_header failure

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 19 03:18:30 2020 +0200| [06e31f953ec6e4332f65e9ece72cc02166636095] | committer: Andreas Rheinhardt avformat/dashdec: Fix memleaks upon read_header failure Reviewed-by: Steven Liu Signed-off-by: Andreas Rheinhardt > http://git.videolan.o

[FFmpeg-cvslog] avformat/dashdec: Avoid double free on error

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Sep 7 18:41:51 2020 +0200| [e09e2c6442924bfa1fb5efc419bc27fc6ef8a532] | committer: Andreas Rheinhardt avformat/dashdec: Avoid double free on error When using one of the AV_DICT_DONT_STRDUP_KEY/VAL flags, av_dict_set() already frees the key/va

[FFmpeg-cvslog] avdevice/lavfi: fix FIXME and check a/v type by codec_type

2020-09-20 Thread Limin Wang
ffmpeg | branch: master | Limin Wang | Thu Sep 17 21:46:50 2020 +0800| [7786d795c294bd56aeaec5d913bf41dc5e7725c8] | committer: Limin Wang avdevice/lavfi: fix FIXME and check a/v type by codec_type Reviewed-by: Nicolas George Signed-off-by: Limin Wang > http://git.videolan.org/gitweb.cgi/ffm

[FFmpeg-cvslog] avdevice/lavfi: unref the frame on failure

2020-09-20 Thread Limin Wang
ffmpeg | branch: master | Limin Wang | Thu Sep 17 21:54:28 2020 +0800| [a554adaab83f91685edd89f91d7373c1dc60709c] | committer: Limin Wang avdevice/lavfi: unref the frame on failure Reviewed-by: Nicolas George Signed-off-by: Limin Wang > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commi

[FFmpeg-cvslog] avdevice/lavfi: av_malloc -> av_malloc_array

2020-09-20 Thread Limin Wang
ffmpeg | branch: master | Limin Wang | Thu Sep 17 22:05:17 2020 +0800| [6c8ff1838d1384609f865fc3074cb5cf65aa6ba8] | committer: Limin Wang avdevice/lavfi: av_malloc -> av_malloc_array Reviewed-by: Paul B Mahol Reviewed-by: Nicolas George Signed-off-by: Limin Wang > http://git.videolan.org/g

[FFmpeg-cvslog] MAINTAINERS: remove my public key fingerprint

2020-09-20 Thread Lou Logan
ffmpeg | branch: master | Lou Logan | Sun Sep 20 15:03:45 2020 -0800| [7a4b2c196cdb98058e2dd1e79a0a5084239ce2f2] | committer: Lou Logan MAINTAINERS: remove my public key fingerprint Forgot to remove this last time I edited my info. Signed-off-by: Lou Logan > http://git.videolan.org/gitweb.cg

[FFmpeg-cvslog] avformat/aaxdec: Fix potential integer overflow

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Sep 20 17:33:23 2020 +0200| [5b33f523d736a11c9db88f998708c6f67691f445] | committer: Andreas Rheinhardt avformat/aaxdec: Fix potential integer overflow The AAX demuxer reads a 32bit number containing the amount of entries of an array and stores

[FFmpeg-cvslog] avformat/swf: Separate mux and demux contexts

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Sep 20 13:21:28 2020 +0200| [913aa4204a2a2e0f3588f628441bf8d6edc12db7] | committer: Andreas Rheinhardt avformat/swf: Separate mux and demux contexts There was almost no overlap between them: The only field used by both was an int named samples

[FFmpeg-cvslog] avcodec/ansi: Check nb_args for overflow

2020-09-20 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Sep 19 20:48:38 2020 +0200| [bc0e776c9aaf06f437bf21e05a713fd54dc85400] | committer: Michael Niedermayer avcodec/ansi: Check nb_args for overflow Fixes: Integer overflow (no testcase) Reviewed-by: Paul B Mahol Signed-off-by: Michael Niederma

[FFmpeg-cvslog] avformat/wc3movie: Cleanup on wc3_read_header() failure

2020-09-20 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Jul 19 15:20:53 2020 +0200| [b78860e769876d9a18fc4f82dd8e808316d8e682] | committer: Michael Niedermayer avformat/wc3movie: Cleanup on wc3_read_header() failure Fixes: memleak Fixes: 23660/clusterfuzz-testcase-minimized-ffmpeg_DEMUXER_fuzzer-

[FFmpeg-cvslog] avformat/wc3movie: Move wc3_read_close() up

2020-09-20 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Jul 19 15:20:14 2020 +0200| [0c635f2ce6c18d448e77605ee83b55bd8250f812] | committer: Michael Niedermayer avformat/wc3movie: Move wc3_read_close() up Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit

[FFmpeg-cvslog] avformat/mov: fix typo in comments

2020-09-20 Thread Zhao Zhili
ffmpeg | branch: master | Zhao Zhili | Fri Sep 18 22:33:37 2020 +0800| [b17e5c3416771b6958618ca204e3aa5884b8614e] | committer: Michael Niedermayer avformat/mov: fix typo in comments Signed-off-by: Michael Niedermayer > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b17e5c3416771b6

[FFmpeg-cvslog] avformat/tedcaptionsdec: Fix leak of AVBPrint upon error

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Sep 20 16:16:51 2020 +0200| [9f7e592df27bd96bdffae173e3462d0438aea120] | committer: Andreas Rheinhardt avformat/tedcaptionsdec: Fix leak of AVBPrint upon error The tedcaptions demuxer uses an AVBPrint whose string is not restricted to its inte

[FFmpeg-cvslog] avformat/argo_brp: remove an allocation

2020-09-20 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen | Sat Sep 19 22:02:42 2020 +1000| [3cf650bda92bb099f64e921d2450133a2aa82f20] | committer: Zane van Iperen avformat/argo_brp: remove an allocation Signed-off-by: Zane van Iperen > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=3cf650bda92bb

[FFmpeg-cvslog] avformat/argo_brp: cleanup 'goto fail's

2020-09-20 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen | Sat Sep 19 22:05:43 2020 +1000| [e76102a2d8bce97885208657535f007b8cfd8217] | committer: Zane van Iperen avformat/argo_brp: cleanup 'goto fail's Signed-off-by: Zane van Iperen > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e76102a2d8bce

[FFmpeg-cvslog] avformat/argo_brp: don't pass AVStream into avpriv_request_sample()

2020-09-20 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen | Sun Sep 20 08:19:03 2020 +1000| [b0dee629da132f31934d58104c209d1ab3c1cb79] | committer: Zane van Iperen avformat/argo_brp: don't pass AVStream into avpriv_request_sample() Signed-off-by: Zane van Iperen > http://git.videolan.org/gitweb.cgi/ffmpeg.g

[FFmpeg-cvslog] avformat/argo_brp: set BVID packet duration

2020-09-20 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen | Sat Sep 19 22:14:52 2020 +1000| [9ab54eb501e3ddb20b1efd6362e6608b2553da59] | committer: Zane van Iperen avformat/argo_brp: set BVID packet duration Signed-off-by: Zane van Iperen > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=9ab54eb50

[FFmpeg-cvslog] avformat/argo_brp: make sure stream ids match

2020-09-20 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen | Sat Sep 19 22:10:45 2020 +1000| [a68c91f6bcd4d6da6a437d1a29a2341b7011809d] | committer: Zane van Iperen avformat/argo_brp: make sure stream ids match Signed-off-by: Zane van Iperen > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a68c91f

[FFmpeg-cvslog] avformat/argo_brp: handle multiple BASF blocks

2020-09-20 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen | Mon Sep 14 20:12:53 2020 +1000| [52c5c977404347a7a146090762e392f2f03ee92c] | committer: Zane van Iperen avformat/argo_brp: handle multiple BASF blocks Turns out that there are files with multiple (reasonably-sized) BASF blocks. Some of the files just

[FFmpeg-cvslog] avformat/argo_asf: fix enforcement of chunk count

2020-09-20 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen | Sat Sep 19 12:35:42 2020 +1000| [101ac40f69c51605347fa2b7f5c76481592acd28] | committer: Zane van Iperen avformat/argo_asf: fix enforcement of chunk count Enforcing num_chunks == 1 only makes sense when demuxing from an ASF file. When embedded in a BR

[FFmpeg-cvslog] avformat/argo_asf: cosmetics

2020-09-20 Thread Zane van Iperen
ffmpeg | branch: master | Zane van Iperen | Sun Sep 20 17:53:27 2020 +1000| [39801adc1956b3b9925567b88ecc0a93bd834384] | committer: Zane van Iperen avformat/argo_asf: cosmetics Signed-off-by: Zane van Iperen > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=39801adc1956b3b9925567b8

[FFmpeg-cvslog] avformat/swfenc: Fix memleak upon write_header error

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Sep 20 08:05:58 2020 +0200| [d554aabdaf81fc3ea99783aca42649b43013e796] | committer: Andreas Rheinhardt avformat/swfenc: Fix memleak upon write_header error The SWF muxer accepts at most one mp3 audio and at most one VP6F, FLV1 or MJPEG stream.

[FFmpeg-cvslog] avformat/swfdec: Avoid unnecessary skip

2020-09-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Sep 20 08:46:16 2020 +0200| [ef29e5bf42660396daa624bed58e88378326d478] | committer: Andreas Rheinhardt avformat/swfdec: Avoid unnecessary skip Reviewed-by: Paul B Mahol Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.cgi/