[FFmpeg-cvslog] avcodec/cbs: Fix potential overflow

2019-11-17 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Nov 17 08:34:36 2019 +0100| [cda3e8ca04c0e343f5b60fda8fb467936e176f33] | committer: Mark Thompson avcodec/cbs: Fix potential overflow The number of bits in a PutBitContext must fit into an int, yet nothing guaranteed the size argument

[FFmpeg-cvslog] avcodec/cbs: Factor out common code for writing units

2019-11-17 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Nov 17 08:34:35 2019 +0100| [7c92eaace2b338e0b3acc18e1543b365610578fd] | committer: Mark Thompson avcodec/cbs: Factor out common code for writing units All cbs-functions to write units share a common pattern: 1. They check whether they have a

[FFmpeg-cvslog] avformat/matroskadec: Fix default value of BlockAddID

2019-11-20 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 20 13:26:59 2019 +0100| [dbc50f8a935043243232b2e01f3c012ab6d49928] | committer: James Almer avformat/matroskadec: Fix default value of BlockAddID Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer > http://git.videolan.

[FFmpeg-cvslog] avformat/av1: Fix leak of dynamic buffer in case of parsing failure

2019-11-21 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Nov 21 07:17:19 2019 +0100| [27c6c925344e00c1a72ba8bb2b5cdd32cb1a2655] | committer: James Almer avformat/av1: Fix leak of dynamic buffer in case of parsing failure Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer > h

[FFmpeg-cvslog] avformat/matroskaenc: Remove outdated comment

2019-11-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 6 03:49:13 2019 +0100| [6eb88daed1052ed369956dd1d510640e38de3860] | committer: Michael Niedermayer avformat/matroskaenc: Remove outdated comment This comment does not account for the fact that the limits on cluster size and duration are

[FFmpeg-cvslog] avformat/matroskaenc: Fix potential leak of cached packet

2019-11-24 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 6 03:49:01 2019 +0100| [4470ab1e0ee1c36cca83f161567177145f412605] | committer: Michael Niedermayer avformat/matroskaenc: Fix potential leak of cached packet If mkv_write_trailer() is not called, the cached audio packet might leak; so

[FFmpeg-cvslog] avformat/flacenc: Add const to ff_flac_write_header() parameter

2019-11-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 27 08:48:56 2019 +0100| [df912bbc5f9cffa56341382a92aff739755f6d60] | committer: Michael Niedermayer avformat/flacenc: Add const to ff_flac_write_header() parameter The extradata is not changed at all. Signed-off-by: Andreas Rheinhardt

[FFmpeg-cvslog] avformat/movenc: Avoid allocation for small dynamic buffers

2019-11-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 27 13:22:11 2019 +0100| [4d97b2ad2fa6d851c70fd982ab300e4fd559f1d0] | committer: James Almer avformat/movenc: Avoid allocation for small dynamic buffers By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf

[FFmpeg-cvslog] avformat/apetag: Avoid allocation for small tags

2019-11-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 27 13:22:06 2019 +0100| [67ce9e0463e170179ece4abc33be716282a0202b] | committer: James Almer avformat/apetag: Avoid allocation for small tags By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf() + av_free() one

[FFmpeg-cvslog] avformat/avc: Avoid allocation for small SPS/PPS arrays

2019-11-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 27 13:22:08 2019 +0100| [c36a3df67692113af15f7accb006f02956882817] | committer: James Almer avformat/avc: Avoid allocation for small SPS/PPS arrays By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf

[FFmpeg-cvslog] avformat/aviobuf: Avoid allocating buffer when using dynamic buffer

2019-11-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 27 13:22:05 2019 +0100| [163bb9ac0af495a5cb95441bdb5c02170440d28c] | committer: James Almer avformat/aviobuf: Avoid allocating buffer when using dynamic buffer Up until now, using a dynamic buffer entailed at least three allocations: One

[FFmpeg-cvslog] avformat/matroskaenc: Avoid allocation for small dynamic buffers

2019-11-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 27 13:22:10 2019 +0100| [3a58ec7c772563fbacba63289aa49bc56a496e3f] | committer: James Almer avformat/matroskaenc: Avoid allocation for small dynamic buffers By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf

[FFmpeg-cvslog] avformat/av1: Avoid allocation for small headers

2019-11-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 27 13:22:07 2019 +0100| [a31f68fb449eaf6f030ce5633435663f154bb34d] | committer: James Almer avformat/av1: Avoid allocation for small headers By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf() + av_free() one

[FFmpeg-cvslog] avformat/id3v2enc: Avoid allocation for small tags

2019-11-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Nov 27 13:22:09 2019 +0100| [aad82270b60ad244330a137457f5a227fac9b175] | committer: James Almer avformat/id3v2enc: Avoid allocation for small tags By using avio_get_dyn_buf() + ffio_free_dyn_buf() instead of avio_close_dyn_buf() + av_free

[FFmpeg-cvslog] avformat/vividas: Avoid allocation of AVIOContext

2019-11-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Nov 28 15:31:33 2019 +0100| [ff5c8e57e756e5b80bc32ea469495a9a89c012b6] | committer: Michael Niedermayer avformat/vividas: Avoid allocation of AVIOContext Put an AVIOContext whose lifetime doesn't extend beyond the function where

[FFmpeg-cvslog] avformat/avio: Use ffurl_closep

2019-11-29 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Nov 29 10:42:48 2019 +0100| [2205fb281074a31388e78c615193410cc9c10042] | committer: Michael Niedermayer avformat/avio: Use ffurl_closep Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer > http://git.videolan.

[FFmpeg-cvslog] avcodec/extract_extradata_bsf: Don't unref uninitialized buffers

2019-11-30 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Nov 30 07:38:10 2019 +0100| [76e0ecec0bfade85796ccfeb9ffdfd55c12e] | committer: James Almer avcodec/extract_extradata_bsf: Don't unref uninitialized buffers This happens if allocating extradata fails and s->remove is unset. Rev

[FFmpeg-cvslog] avformat/flac_picture: Switch to bytestream2 API

2019-12-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Nov 29 20:44:10 2019 +0100| [84a4261cd842b86782bac87bf474a9ce566e10df] | committer: Michael Niedermayer avformat/flac_picture: Switch to bytestream2 API ff_flac_parse_picture() parses a buffer containing a flac metadata picture block by

[FFmpeg-cvslog] avformat/flac_picture: Simplify checks

2019-12-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Nov 29 20:44:09 2019 +0100| [35005a4af1ebe1ec1b5724121a03036705417fc7] | committer: Michael Niedermayer avformat/flac_picture: Simplify checks During parsing a flac picture metadata block, the mimetype is read as follows: Its 32b size field

[FFmpeg-cvslog] avformat/flac_picture: Return directly if nothing has been allocated

2019-12-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Nov 29 20:44:11 2019 +0100| [5946243fa8930d91ac96fb21daa0959548ac0ce4] | committer: Michael Niedermayer avformat/flac_picture: Return directly if nothing has been allocated Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer

[FFmpeg-cvslog] avfilter/vf_unsharp: Don't dereference NULL

2019-12-03 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Dec 1 10:56:26 2019 +0100| [710ab136931ff228b355d87512b0d4ca4e94656a] | committer: Michael Niedermayer avfilter/vf_unsharp: Don't dereference NULL The unsharp filter uses an array of arrays of uint32_t, each of which is separately allo

[FFmpeg-cvslog] avformat/rmdec: Use av_packet_move_ref() for packet ownership transfer

2019-12-04 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 3 11:28:07 2019 +0100| [296f769fdca523e4ec23552ccb8e6a64bd47227f] | committer: Michael Niedermayer avformat/rmdec: Use av_packet_move_ref() for packet ownership transfer Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael

[FFmpeg-cvslog] avformat/matroskadec: Check before allocations

2019-12-04 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 3 18:09:03 2019 +0100| [f7bf59b431e0921d5f318154f64c78bb226e33b9] | committer: James Almer avformat/matroskadec: Check before allocations That way one doesn't have to free later. In this case (concerning TTA extradata), this also fi

[FFmpeg-cvslog] avformat/matroskadec: Avoid allocating array for lace sizes

2019-12-04 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 3 18:09:06 2019 +0100| [9ad1a6d64cc6cefccaa94c105dd2e74951281987] | committer: James Almer avformat/matroskadec: Avoid allocating array for lace sizes The maximal number of frames in a lace can be 256; hence one has a not excessive upper

[FFmpeg-cvslog] avformat/matroskadec: Improve frame size parsing error messages

2019-12-04 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 3 18:09:09 2019 +0100| [dbe3be674459baf310d55eaaf85ac0fb2d89aaff] | committer: James Almer avformat/matroskadec: Improve frame size parsing error messages When parsing the sizes of the frames in a lace fails, sometimes no error message

[FFmpeg-cvslog] avformat/matroskadec: avcodec/tta: Set extradata_size to 22

2019-12-04 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 3 18:09:04 2019 +0100| [eec26b5911626edef1d736f2d06e8d0ddd8ade2a] | committer: James Almer avformat/matroskadec: avcodec/tta: Set extradata_size to 22 Up until c4e0e314, the seek table has been included in the tta extradata, so that the

[FFmpeg-cvslog] avformat/matroskadec: Use bytestream API instead of AVIOContext

2019-12-04 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 3 18:09:05 2019 +0100| [668490ac981be1501652ebdfd633a498cb99ec2d] | committer: James Almer avformat/matroskadec: Use bytestream API instead of AVIOContext It avoids the overhead of function calls. Signed-off-by: Andreas Rheinhardt

[FFmpeg-cvslog] avformat/matroskadec: Reuse AVIOContext

2019-12-04 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 3 18:09:10 2019 +0100| [d5274f86a838ae5f9d56f41c6ee520cce466bd83] | committer: James Almer avformat/matroskadec: Reuse AVIOContext When parsing EBML lacing, for every number read, a new AVIOContext has been initialized (via

[FFmpeg-cvslog] avformat/matroskadec: Remove unnecessary check

2019-12-04 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 3 18:09:08 2019 +0100| [f74eaa17bb0b2a5a7d550c107cd119da87c946bc] | committer: James Almer avformat/matroskadec: Remove unnecessary check 870e7552 introduced validating the lace sizes when they are parsed and removed the old check; yet

[FFmpeg-cvslog] avformat/matroskadec: Simplify control flow of parsing laces

2019-12-04 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 3 18:09:07 2019 +0100| [a69f92a94638984cfc1203a43184e662365ab953] | committer: James Almer avformat/matroskadec: Simplify control flow of parsing laces Up until now, when an error happened in one of the inner loops in

[FFmpeg-cvslog] avformat/mpeg: Don't copy or leak string in AVBPrint

2019-12-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Dec 4 13:37:13 2019 +0100| [bc3cf2bbd320e1ade2791dca02b9ba947ca436ab] | committer: Michael Niedermayer avformat/mpeg: Don't copy or leak string in AVBPrint vobsub_read_header() uses an AVBPrint to write a string and up until no

[FFmpeg-cvslog] avformat/mpeg: Fix leaks of AVFormatContext and subtitle packets

2019-12-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Dec 4 13:37:14 2019 +0100| [4825d8a98d4cddab8710055213e99e47cfd5257a] | committer: Michael Niedermayer avformat/mpeg: Fix leaks of AVFormatContext and subtitle packets If an error happens in vobsub_read_header() after allocating the

[FFmpeg-cvslog] avformat/mpeg: Make VobSub demuxer have its own context struct

2019-12-05 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Dec 4 13:37:12 2019 +0100| [3f37880c05714ede6590fb32390ed991552d5115] | committer: Michael Niedermayer avformat/mpeg: Make VobSub demuxer have its own context struct When the VobSub demuxer was added, the fields it required were simply added

[FFmpeg-cvslog] avcodec/extract_extradata_bsf: Don't unref uninitialized buffers

2019-12-06 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Sat Nov 30 07:38:10 2019 +0100| [2722fc2bcfae03feea131737f7da451358a05a7b] | committer: James Almer avcodec/extract_extradata_bsf: Don't unref uninitialized buffers This happens if allocating extradata fails and s->remove is unset.

[FFmpeg-cvslog] avformat/av1: Fix leak of dynamic buffer in case of parsing failure

2019-12-06 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Thu Nov 21 07:17:19 2019 +0100| [40123639fe7edc2cbd42f2b1ffb9d072131be5ad] | committer: James Almer avformat/av1: Fix leak of dynamic buffer in case of parsing failure Signed-off-by: Andreas Rheinhardt Signed-off-by: James Almer (cherry

[FFmpeg-cvslog] avformat/matroskadec: Fix use-after-free when demuxing ProRes

2019-12-07 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 7 00:16:19 2019 +0100| [af50f0a515d8096fece9776e2d3034fe990a1373] | committer: James Almer avformat/matroskadec: Fix use-after-free when demuxing ProRes ProRes in Matroska is supposed to not contain the first atom header (containing a

[FFmpeg-cvslog] avformat/matroskadec: Add a fate test for CodecPrivate compression

2019-12-07 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 7 17:35:10 2019 +0100| [ff2b75d94cee65e47db7a56f3924497016e5b420] | committer: James Almer avformat/matroskadec: Add a fate test for CodecPrivate compression This test contains a track with zlib compressed CodecPrivate in addition to

[FFmpeg-cvslog] fate/matroska: Add a test for propagating flac channel layouts

2019-12-08 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Dec 8 21:44:53 2019 +0100| [9f7b2b37e3c6a1844cf1536bccf6123720fb30e6] | committer: James Almer fate/matroska: Add a test for propagating flac channel layouts contained in Vorbis comments in the CodecPrivate of flac tracks. Moreover, it also

[FFmpeg-cvslog] avformat/id3v2: Fix double-free on error

2019-12-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Nov 10 05:07:28 2019 +0100| [67d4940a7795aa3afc8d1e624de33b030e0be51e] | committer: Michael Niedermayer avformat/id3v2: Fix double-free on error ff_id3v2_parse_priv_dict() uses av_dict_set() with the flags AV_DICT_DONT_STRDUP_KEY and

[FFmpeg-cvslog] avformat/iff: Use ff_alloc_extradata

2019-12-11 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 10 02:41:45 2019 +0100| [86e9747c634bc17ef8335d12191aa9e7a897fd64] | committer: Michael Niedermayer avformat/iff: Use ff_alloc_extradata Besides improved readability it also zeroes the padding which has been forgotten here. Signed-off-by

[FFmpeg-cvslog] avformat/apc: Remove unnecessary resetting of flags

2019-12-11 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 10 02:41:43 2019 +0100| [91f775e0c533374f1c94e1a094d19d269b70e1e7] | committer: Michael Niedermayer avformat/apc: Remove unnecessary resetting of flags The packet a demuxer receives is freshly initialized, hence it is unnecessary to reset

[FFmpeg-cvslog] avformat/flvenc: Don't reimplement ff_alloc_extradata

2019-12-11 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 10 02:41:44 2019 +0100| [a6d292b954cb45b512251b31efbe58e44dcf159c] | committer: Michael Niedermayer avformat/flvenc: Don't reimplement ff_alloc_extradata Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer &

[FFmpeg-cvslog] avformat/apngdec: Make sure that extradata is zero-padded

2019-12-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 10 22:59:46 2019 +0100| [2e328a8a38e06e4737bc1253a568558a7c514e77] | committer: Michael Niedermayer avformat/apngdec: Make sure that extradata is zero-padded Zeroing the padding has been forgotten. Signed-off-by: Andreas Rheinhardt

[FFmpeg-cvslog] avformat/rtpdec_hevc: Don't reimplement ff_alloc_extradata

2019-12-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 10 22:59:52 2019 +0100| [cb88cdf7730e309df22ddbbc1ae4ebcd9ebc529e] | committer: Michael Niedermayer avformat/rtpdec_hevc: Don't reimplement ff_alloc_extradata Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer &

[FFmpeg-cvslog] avformat: Don't free old extradata before ff_alloc/get_extradata

2019-12-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Dec 11 12:21:07 2019 +0100| [82d61a9ce3e26cb950709689f537ad1fdfa830b3] | committer: Michael Niedermayer avformat: Don't free old extradata before ff_alloc/get_extradata These functions already free it themselves before they allocate th

[FFmpeg-cvslog] avformat: Forward errors where possible

2019-12-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 10 22:59:53 2019 +0100| [c1e439d7e9abab3cebdc937636393b1656e095d9] | committer: Michael Niedermayer avformat: Forward errors where possible It is not uncommon to find code where the caller thinks to know better what the return value

[FFmpeg-cvslog] avformat/apngdec: Don't free extradata manually

2019-12-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 10 22:59:47 2019 +0100| [c1d300f83a006219b2ffd95648d2438cf8b2a094] | committer: Michael Niedermayer avformat/apngdec: Don't free extradata manually The extradata will be freed automatically when the corresponding stream gets

[FFmpeg-cvslog] avformat/mov: Use ff_alloc_extradata for dvdsub extradata

2019-12-12 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 10 22:59:45 2019 +0100| [56ce2ad2cccf33067b9f428a637f5c11edcc10ea] | committer: Michael Niedermayer avformat/mov: Use ff_alloc_extradata for dvdsub extradata Signed-off-by: Andreas Rheinhardt Reviewed-by: "myp...@gmail.com"

[FFmpeg-cvslog] avformat/matroskadec: Fix demuxing ProRes

2019-12-13 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Sat Sep 28 19:54:25 2019 +0200| [2f89f24eb952337a60a03e0dd602c28107c1d87a] | committer: James Almer avformat/matroskadec: Fix demuxing ProRes The structure of a ProRes frame in mov/mp4 is that of a typical atom: First a 32 bit BE size field

[FFmpeg-cvslog] avformat/matroskadec: Fix use-after-free when demuxing ProRes

2019-12-13 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Sat Dec 7 00:16:19 2019 +0100| [48ae2358482f6c64090227dda6915bd10f2183b0] | committer: James Almer avformat/matroskadec: Fix use-after-free when demuxing ProRes ProRes in Matroska is supposed to not contain the first atom header (containing

[FFmpeg-cvslog] h264_mp4toannexb: Remove unnecessary check

2019-12-15 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 14 23:19:13 2019 +0100| [ed9279afbd3be917b599c8a52ad8414db8b58c0e] | committer: Michael Niedermayer h264_mp4toannexb: Remove unnecessary check There can be at most 31 SPS and 255 PPS in the mp4/Matroska extradata. Given that each has a

[FFmpeg-cvslog] avformat/icecast: Free the right buffer on error

2019-12-19 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Nov 10 05:07:29 2019 +0100| [99f505d2df521d83d53f7f9f9b359280f5af168b] | committer: Michael Niedermayer avformat/icecast: Free the right buffer on error In case an AVBPrint was not complete, icecast_open() would free some buffers that have

[FFmpeg-cvslog] avformat/icecast: Use AV_DICT_DONT_STRDUP_VAL to save an av_strdup

2019-12-21 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Nov 10 05:07:30 2019 +0100| [15345881e772571010a54c98ec1ada370c6bad9a] | committer: Michael Niedermayer avformat/icecast: Use AV_DICT_DONT_STRDUP_VAL to save an av_strdup This will probably also fix CID 1452559, a false positive where

[FFmpeg-cvslog] avformat/hlsenc: Fix typo in error message

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:04 2019 +0100| [728c44b8613fdd2f75391b6575df4e9d47c24c63] | committer: Steven Liu avformat/hlsenc: Fix typo in error message Signed-off-by: Andreas Rheinhardt Reviewed-by: Steven Liu > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] avformat/hlsenc: Fix memleaks with repeating parameters

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:13 2019 +0100| [5ba3a8958c76d5490bcc9ba4441f03bedd9aebc6] | committer: Steven Liu avformat/hlsenc: Fix memleaks with repeating parameters When a parameter like e.g. language is contained more than once in the part of

[FFmpeg-cvslog] avformat/hlsenc: Fix potential segfault upon allocation failure

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:09 2019 +0100| [149ee954a32334902a20c6a1b58ac5fe91114ff6] | committer: Steven Liu avformat/hlsenc: Fix potential segfault upon allocation failure The hls muxer allocates an array of VariantStreams, a structure that contains

[FFmpeg-cvslog] avformat/hlsenc: Fix leak of options when initializing muxing fails

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:06 2019 +0100| [9e4b3ccbb62c29eb1f95af485ec6f0d1e0e4109a] | committer: Steven Liu avformat/hlsenc: Fix leak of options when initializing muxing fails hls_mux_init() currently leaks an AVDictionary if opening a dynamic buffer

[FFmpeg-cvslog] avformat/hlsenc: Only allocate when data is known to be needed

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:05 2019 +0100| [ae84305036ceced3813fb295b71d51343ffd9535] | committer: Steven Liu avformat/hlsenc: Only allocate when data is known to be needed hls_init() would allocate a buffer, although it is only needed in one of two

[FFmpeg-cvslog] avformat/hlsenc: Fix leak of child AVFormatContext

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:03 2019 +0100| [7d6637bcc4bb6d1d554e910a4afd6cf6711f8862] | committer: Steven Liu avformat/hlsenc: Fix leak of child AVFormatContext Before ed897633, the hls muxer would free its child AVFormatContexts and reset the pointer to

[FFmpeg-cvslog] avformat/hlsenc: Fix return value from localtime_r failure

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:12 2019 +0100| [53c1458bf2e91b2279985e5fc2ffaa5e2013564a] | committer: Steven Liu avformat/hlsenc: Fix return value from localtime_r failure "If an error is detected, localtime_r() shall return a null pointer and set err

[FFmpeg-cvslog] avformat/hlsenc: Fix leak of options when writing packets

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:07 2019 +0100| [bd131b64bc308ab036d0bbe9da0a49f482ef94f9] | committer: Steven Liu avformat/hlsenc: Fix leak of options when writing packets Under certain circumstances hls_write_packet() would add options to an AVDictionary. Said

[FFmpeg-cvslog] avformat/hlsenc: Fix check for presence of webvtt muxer

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 16 01:04:15 2019 +0100| [74a8be3546c54e109ca16639f9863a6cdcd9aead] | committer: Steven Liu avformat/hlsenc: Fix check for presence of webvtt muxer Signed-off-by: Andreas Rheinhardt Reviewed-by: Steven Liu > http://git.videolan.

[FFmpeg-cvslog] avformat/hls: Use av_packet_move_ref() for packet ownership transfer

2019-12-22 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Dec 3 11:27:38 2019 +0100| [5b42d3357120a338e506acbd2a0081a0702aa166] | committer: Steven Liu avformat/hls: Use av_packet_move_ref() for packet ownership transfer Signed-off-by: Andreas Rheinhardt > http://git.videolan.org/gitweb.

[FFmpeg-cvslog] avfilter/buffersrc: Remove unused variables

2019-12-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Dec 25 12:59:07 2019 +0100| [398a5f5d8ffe3c39b320c2e5584beba26c99b2ff] | committer: Michael Niedermayer avfilter/buffersrc: Remove unused variables Unused since f09ae730. Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer

[FFmpeg-cvslog] avformat/flvenc: Forward errors from allocating keyframe index

2019-12-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 26 11:53:34 2019 +0100| [28d02524a04d401fa7fca9823e3b7261a25613ab] | committer: Michael Niedermayer avformat/flvenc: Forward errors from allocating keyframe index While the function adding a new element to the keyframe index checked the

[FFmpeg-cvslog] avformat/spdifenc: Replace write_trailer by deinit

2019-12-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 26 11:53:26 2019 +0100| [827bdc841888cfc347e89704075589fff3a3c9aa] | committer: Michael Niedermayer avformat/spdifenc: Replace write_trailer by deinit The write_trailer function doesn't write anything anyway. It only frees memory. S

[FFmpeg-cvslog] avformat/wavenc: Add deinit function

2019-12-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 26 11:53:27 2019 +0100| [a94e6b50c663f569ae635d0972aa103eafd56243] | committer: Michael Niedermayer avformat/wavenc: Add deinit function Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer > http://git.videolan.

[FFmpeg-cvslog] avformat/flvenc: Fix leak of oversized packets

2019-12-26 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 26 11:53:35 2019 +0100| [b0d0d7e4d0581ccfeea37cc3fd0d3ca9d999fbfc] | committer: Michael Niedermayer avformat/flvenc: Fix leak of oversized packets Might happen for annex B H.264. Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael

[FFmpeg-cvslog] avformat/microdvd: Use \n instead of \0 to end file header

2019-12-27 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 12 16:53:17 2019 +0100| [9bde6c6be0ea568f6ce646690616a0d4274095d4] | committer: Michael Niedermayer avformat/microdvd: Use \n instead of \0 to end file header Up until now, the microdvd demuxer uses av_strdup() to allocate the extradata

[FFmpeg-cvslog] avformat/microdvdenc: Use avio_w8 to write a char

2019-12-27 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Thu Dec 12 16:53:18 2019 +0100| [39561bbe77626458b28f186d03a2ba273d55b655] | committer: Michael Niedermayer avformat/microdvdenc: Use avio_w8 to write a char Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer > h

[FFmpeg-cvslog] fate/matroska: Add test for ProRes and bz2 compression

2019-12-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 28 03:40:32 2019 +0100| [6c735b96ee45bce24be6513bb9b292b5c7ecd8ee] | committer: James Almer fate/matroska: Add test for ProRes and bz2 compression This test tests that demuxing ProRes that is muxed like it should be in Matroska (i.e. with

[FFmpeg-cvslog] avformat/matroskadec: Fix lzo decompression

2019-12-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Dec 28 03:40:33 2019 +0100| [2ff687c17f3542b0e95c3b95fe6c844f3e809ed8] | committer: James Almer avformat/matroskadec: Fix lzo decompression When a Matroska Block is only stored in compressed form, the size of the uncompressed block is not

[FFmpeg-cvslog] avcodec/cbs: Factor out common code for writing units

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Sun Nov 17 08:34:35 2019 +0100| [1cf238d3bfefdfd3345ca262f57e08a798bb0d90] | committer: James Almer avcodec/cbs: Factor out common code for writing units All cbs-functions to write units share a common pattern: 1. They check whether they

[FFmpeg-cvslog] cbs: Remove useless initializations

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Thu Jun 20 01:45:11 2019 +0200| [fd53f6745e1fd0741f5d9d3aa7d5484cfd98f8ed] | committer: James Almer cbs: Remove useless initializations Up until now, a temporary variable was used and initialized every time a value was read in CBS; if

[FFmpeg-cvslog] avcodec/cbs: Fix potential overflow

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Sun Nov 17 08:34:36 2019 +0100| [4667920455c0d52c25835ff81098254213f2d018] | committer: James Almer avcodec/cbs: Fix potential overflow The number of bits in a PutBitContext must fit into an int, yet nothing guaranteed the size argument

[FFmpeg-cvslog] cbs_mpeg2: Rearrange start code search

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Mon Jul 29 21:56:55 2019 +0200| [c1fb94fcacf3208ea8396953351a00af56e3f336] | committer: James Almer cbs_mpeg2: Rearrange start code search 1. Currently, cbs_mpeg2_split_fragment uses essentially three variables to hold the start code values

[FFmpeg-cvslog] cbs_mpeg2: Fix parsing of picture and slice headers

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Thu Jun 20 01:45:12 2019 +0200| [9db961861aeca15feacb5a711aa5c5f2676ce6e2] | committer: James Almer cbs_mpeg2: Fix parsing of picture and slice headers 1. The extra information in slice headers was parsed incorrectly: In the first reading

[FFmpeg-cvslog] mpeg2_metadata, cbs_mpeg2: Fix handling of colour_description

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Thu Jun 20 01:45:10 2019 +0200| [4bc84f4f7deb12190998d898c84b7cbc5002ce8c] | committer: James Almer mpeg2_metadata, cbs_mpeg2: Fix handling of colour_description If a sequence display extension is read with colour_description equal to zero

[FFmpeg-cvslog] cbs_mpeg2: Fix parsing the last unit

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Mon Jul 29 21:56:56 2019 +0200| [14644e33226bf7f280da2bffd387b9fe26572d22] | committer: James Almer cbs_mpeg2: Fix parsing the last unit There is one way to find out if avpriv_find_start_code has found a start code or not: One has to check

[FFmpeg-cvslog] cbs_mpeg2: Decompose Sequence End

2019-12-31 Thread Andreas Rheinhardt
ffmpeg | branch: release/4.2 | Andreas Rheinhardt | Mon Jul 29 21:56:54 2019 +0200| [2852aa50842dae99fc1f2988e256fef1052e7b57] | committer: James Almer cbs_mpeg2: Decompose Sequence End Sequence End units (or actually, sequence_end_codes) have up until now not been decomposed; in fact due to

[FFmpeg-cvslog] avformat/matroskadec: Use AV_DICT_DONT_STRDUP_VAL to save av_strdup

2020-01-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Nov 10 05:07:31 2019 +0100| [40d9cbdc22340572ea5ebe5fe77c73eafafabef8] | committer: Michael Niedermayer avformat/matroskadec: Use AV_DICT_DONT_STRDUP_VAL to save av_strdup This will likely also fix CID 1452562, a false positive resulting from

[FFmpeg-cvslog] avformat/matroskaenc: Adapt documentation of put_ebml_num

2020-01-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 1 01:58:21 2020 +0100| [2968da7d9e9054e97597c6b7b7b42e9ea453563e] | committer: Michael Niedermayer avformat/matroskaenc: Adapt documentation of put_ebml_num to its actual behaviour: That it uses the least amount of bytes unless

[FFmpeg-cvslog] avformat/matroskaenc: Check return value of ff_isom_write_hvcc()

2020-01-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 1 01:58:22 2020 +0100| [34e3810b04cadf4ccb0d96b9d36a9daf45179c05] | committer: Michael Niedermayer avformat/matroskaenc: Check return value of ff_isom_write_hvcc() The Matroska muxer currently does not check the return value of

[FFmpeg-cvslog] avformat/mpeg: Remove secondary packet for reading VobSub

2020-01-01 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Oct 8 07:41:14 2019 +0200| [6d354aeb29d257ae64ad6a055d210dd6b191d5bc] | committer: Michael Niedermayer avformat/mpeg: Remove secondary packet for reading VobSub When vobsub_read_packet() reads a packet, it uses a dedicated AVPacket to get

[FFmpeg-cvslog] avformat/aviobuf: Honor avio_open[2] documentation

2020-01-06 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Jan 6 15:51:49 2020 +0100| [220846f74fc33fc037147e54535bcaef8caad28b] | committer: Michael Niedermayer avformat/aviobuf: Honor avio_open[2] documentation The documentation of both avio_open() as well as avio_open2() states that on failure

[FFmpeg-cvslog] avformat/dashenc: Fix leak of AVFormatContext on error

2020-01-07 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 7 14:55:46 2020 +0100| [8aeab0dbc159d65a20bb4cc89c2524b482fd867a] | committer: Michael Niedermayer avformat/dashenc: Fix leak of AVFormatContext on error The Dash muxer uses submuxers and when one such submuxer has been allocated, it is

[FFmpeg-cvslog] avformat/avs: Remove avs_read_close()

2020-01-07 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 7 14:55:41 2020 +0100| [3fd68fd955e45ecdb2d96241c9d479a68a0ad982] | committer: Michael Niedermayer avformat/avs: Remove avs_read_close() It did nothing. Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer > h

[FFmpeg-cvslog] avformat/mpjpeg: Remove mpjpeg_write_trailer

2020-01-07 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 7 14:55:45 2020 +0100| [ad18f69bcba05f825b7a27e779873ae830273e84] | committer: Michael Niedermayer avformat/mpjpeg: Remove mpjpeg_write_trailer It does nothing. Signed-off-by: Andreas Rheinhardt Signed-off-by: Michael Niedermayer

[FFmpeg-cvslog] avformat: Improve returned error codes

2020-01-07 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 7 14:55:44 2020 +0100| [45e7c67affb57f0286fc111e61686025f4ef4a04] | committer: Michael Niedermayer avformat: Improve returned error codes This commit improves returned error codes by forwarding error codes. In some instances, the

[FFmpeg-cvslog] avformat/fitsdec: Fix potential leak of string in AVBPrint

2020-01-07 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 7 14:55:42 2020 +0100| [bb20f3dd730689c3a99f7820cff8b74b06992fff] | committer: Michael Niedermayer avformat/fitsdec: Fix potential leak of string in AVBPrint by freeing it a bit earlier. Signed-off-by: Andreas Rheinhardt Signed-off-by

[FFmpeg-cvslog] avformat/wtvdec: Cosmetics

2020-01-07 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 7 14:55:49 2020 +0100| [653ef8828a3b90deb468bf19a7ca39694364d59d] | committer: James Almer avformat/wtvdec: Cosmetics Signed-off-by: Andreas Rheinhardt Reviewed-by: Peter Ross Signed-off-by: James Almer > http://git.videolan.

[FFmpeg-cvslog] avformat/wtvdec: Fix memleak when reading header fails

2020-01-07 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 7 14:55:48 2020 +0100| [373c1c9b691fd4c6831b3a114a006b639304c2af] | committer: James Almer avformat/wtvdec: Fix memleak when reading header fails Fixes #8314. Signed-off-by: Andreas Rheinhardt Reviewed-by: Peter Ross Signed-off-by

[FFmpeg-cvslog] avcodec/proresenc_anatoliy: Fix invalid left shift of negative number

2020-01-08 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 8 19:29:13 2020 +0100| [198081efb7c7343349f0a7acc836f001c511e990] | committer: Michael Niedermayer avcodec/proresenc_anatoliy: Fix invalid left shift of negative number This fixes ticket #7997 as well as the vsynth*-prores_# FATE-tests

[FFmpeg-cvslog] avformat/utils: Remove redundant save+restore

2020-01-08 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Oct 8 07:41:15 2019 +0200| [94cdf82d53fe9be260dc6106634a9f9b218211bd] | committer: Michael Niedermayer avformat/utils: Remove redundant save+restore If the size of the input packet is zero, av_grow_packet() used to call av_new_packet() which

[FFmpeg-cvslog] fate: Don't use depreceated keepside option

2020-01-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Mon Dec 30 13:43:27 2019 +0100| [c4c96d5942ac48ff247be224363f5200198844a6] | committer: James Almer fate: Don't use depreceated keepside option The tests for concat use this option which is scheduled for removal and does nothing any mor

[FFmpeg-cvslog] avformat/mov: Use AV_DICT_DONT_STRDUP_VAL to avoid av_strdup

2020-01-10 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sun Nov 10 05:07:33 2019 +0100| [ad1b0a12f34d57ed5bfb952ce67bce8f48b3ec0e] | committer: Michael Niedermayer avformat/mov: Use AV_DICT_DONT_STRDUP_VAL to avoid av_strdup This will likely also fix CID 1452574 and 1452565, false positives resulting

[FFmpeg-cvslog] avformat/matroskaenc: Fix ReferenceBlock timestamp

2020-01-11 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Wed Jan 1 01:58:18 2020 +0100| [6a1bf8634acdd7112979b7e5ae6684e4acaf3339] | committer: James Almer avformat/matroskaenc: Fix ReferenceBlock timestamp In order to indicate that the frames in a BlockGroup are not keyframes, one has to add a

[FFmpeg-cvslog] avformat/avformat: Update AVInputFormat.read_packet documentation

2020-01-14 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 7 14:55:39 2020 +0100| [b55c6b8c40e09a1a8076bbc8b4a804801bec530c] | committer: Michael Niedermayer avformat/avformat: Update AVInputFormat.read_packet documentation Since bae8844e351, the packet is automatically unreferenced in

[FFmpeg-cvslog] avformat/segafilmenc: Postpone check for existence of video stream

2020-01-14 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 14 04:13:31 2020 +0100| [30859c270fa5f14d9bb13382f86f90affc3a4c3e] | committer: Michael Niedermayer avformat/segafilmenc: Postpone check for existence of video stream Up until now, the Sega FILM muxer complained if the first stream wasn&#

[FFmpeg-cvslog] avformat/segafilmenc: Fix undefined left shift of 1 by 31 places

2020-01-14 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Tue Jan 14 04:13:30 2020 +0100| [8ae026d74f599b2d00b91798af1c1067a879007c] | committer: Michael Niedermayer avformat/segafilmenc: Fix undefined left shift of 1 by 31 places by changing the type to unsigned. Signed-off-by: Andreas Rheinhardt

<    1   2   3   4   5   6   7   8   9   10   >