[FFmpeg-cvslog] avformat/utils: Improve parsing packets

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 20 22:39:15 2019 +0200| [5c95af6b7c8ea7fa700f91e9ab55ef2713b6f02f] | committer: James Almer avformat/utils: Improve parsing packets Up until now, parse_packet() used a stack packet in case the stream is flushed. But using such a packet is

[FFmpeg-cvslog] avformat/utils: Don't initialize in loops

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 20 22:39:11 2019 +0200| [47a4528abc9702da02b2115c4ad235e70138648a] | committer: James Almer avformat/utils: Don't initialize in loops Since the recent changes to ff_packet_list_put, the source packet will be automatically reset when the

[FFmpeg-cvslog] avformat/utils: Avoid copying packets unnecessarily

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 20 22:39:14 2019 +0200| [cdba00ae113c94ef243bc238c64678c7bca82084] | committer: James Almer avformat/utils: Avoid copying packets unnecessarily Up until now, read_frame_internal in avformat/utils.c uses a spare packet on the stack that

[FFmpeg-cvslog] avformat/utils: Remove unnecessary initializations

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 20 22:39:16 2019 +0200| [9fdc2c7bc45b062457f3d58578e3a02dd945c9c4] | committer: James Almer avformat/utils: Remove unnecessary initializations Up until now, read_frame_internal always initialized the packet it received. But since the

[FFmpeg-cvslog] avformat/utils: Don't create unnecessary references

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 28 04:42:24 2019 +0200| [ada02cf85fffd7806ac48e907f45082dd91efc18] | committer: James Almer avformat/utils: Don't create unnecessary references When AVFMT_FLAG_GENPTS is set, av_read_frame would put a reference to a packet in the packet

[FFmpeg-cvslog] avformat/utils: Fix memleaks II

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Fri Sep 20 22:39:12 2019 +0200| [bf79e4426a94d17ca49b01ab1624c5d59ae59bb2] | committer: James Almer avformat/utils: Fix memleaks II Up until now, avformat_find_stream_info had a potential for memleaks: When everything was fine, it read packets

[FFmpeg-cvslog] doc/filters: add more advanced silenceremove example

2019-09-28 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sat Sep 28 23:04:07 2019 +0200| [551e8dc145939f575fbe4f71200c6442c9869cdf] | committer: Paul B Mahol doc/filters: add more advanced silenceremove example >

[FFmpeg-cvslog] avfilter/fifo: use the name 's' for the pointer to the private context

2019-09-28 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sat Sep 28 22:06:50 2019 +0200| [947e8ab329af5d59d47c1ef8a08d6a84109a89be] | committer: Paul B Mahol avfilter/fifo: use the name 's' for the pointer to the private context This is shorter and consistent across filters. >

[FFmpeg-cvslog] avfilter/fifo: cosmetics

2019-09-28 Thread Paul B Mahol
ffmpeg | branch: master | Paul B Mahol | Sat Sep 28 21:57:52 2019 +0200| [216830aca4ffcb60d1a71bcf3c30c44050034e78] | committer: Paul B Mahol avfilter/fifo: cosmetics > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=216830aca4ffcb60d1a71bcf3c30c44050034e78 --- libavfilter/fifo.c |

[FFmpeg-cvslog] avfilter/vf_framerate: remove duplicate code with macro-based function

2019-09-28 Thread Limin Wang
ffmpeg | branch: master | Limin Wang | Tue Sep 24 18:18:09 2019 +0800| [86f0411a5270295963d32c42a192193400c2c912] | committer: Marton Balint avfilter/vf_framerate: remove duplicate code with macro-based function Signed-off-by: Limin Wang Signed-off-by: Marton Balint >

[FFmpeg-cvslog] avfilter/vf_framerate: refine the filter_slice code for better readiablity

2019-09-28 Thread Limin Wang
ffmpeg | branch: master | Limin Wang | Tue Sep 24 18:18:08 2019 +0800| [fd5fdca95337aaaf82e69af94c8a1a18fe1bce4e] | committer: Marton Balint avfilter/vf_framerate: refine the filter_slice code for better readiablity Signed-off-by: Limin Wang Signed-off-by: Marton Balint >

[FFmpeg-cvslog] avfilter/vf_framerate: limit the scene level max range

2019-09-28 Thread Limin Wang
ffmpeg | branch: master | Limin Wang | Tue Sep 24 18:18:07 2019 +0800| [b4e7d3a0db94a496858faa099750e35b11c721c7] | committer: Marton Balint avfilter/vf_framerate: limit the scene level max range Reviewed-by: Paul B Mahol Signed-off-by: Limin Wang Signed-off-by: Marton Balint >

[FFmpeg-cvslog] avcodec/motionpixels: Mark 2 functions as always_inline

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sun Aug 11 22:28:09 2019 +0200| [017884bdc3975528cacd5d23001558952cbdbabb] | committer: Michael Niedermayer avcodec/motionpixels: Mark 2 functions as always_inline Fixes: Timeout (30sec -> 25sec) Fixes:

[FFmpeg-cvslog] avcodec/ralf: Fix integer overflow in decode_channel()

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Sep 14 14:26:49 2019 +0200| [fbb314b6f2c2b77608442966f28aac20343a1cae] | committer: Michael Niedermayer avcodec/ralf: Fix integer overflow in decode_channel() Fixes: signed integer overflow: -1094995519 * 64 cannot be represented in type

[FFmpeg-cvslog] avcodec/ituh263dec: Make the condition for the studio slice start code match between ff_h263_resync() and ff_mpeg4_decode_studio_slice_header()

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Sep 14 18:31:40 2019 +0200| [8335ba8ae99941422bef0e16ea8cf1ebe2e9a7b3] | committer: Michael Niedermayer avcodec/ituh263dec: Make the condition for the studio slice start code match between ff_h263_resync() and

[FFmpeg-cvslog] vcodec/vc1: compute rangex/y only for P/B frames

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Sep 10 20:20:31 2019 +0200| [e75e7fe1601b97c31e3ce90473ab71b9a0667573] | committer: Michael Niedermayer vcodec/vc1: compute rangex/y only for P/B frames Fixes: left shift of 1073741824 by 1 places cannot be represented in type 'int' Fixes:

[FFmpeg-cvslog] avcodec/apedec: Fix several integer overflows in predictor_update_filter() and do_apply_filter()

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Mon Sep 2 22:59:55 2019 +0200| [1e95a3e8a7250060befd9a5fba69151bb2a6690c] | committer: Michael Niedermayer avcodec/apedec: Fix several integer overflows in predictor_update_filter() and do_apply_filter() Fixes: negation of -2147483648 cannot

[FFmpeg-cvslog] avcodec/vc1: check REFDIST

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Sat Aug 31 22:00:35 2019 +0200| [7f7af9e294f8bc00756922ab088430ea5b9d7498] | committer: Michael Niedermayer avcodec/vc1: check REFDIST "9.1.1.43 P Reference Distance (REFDIST)" "The value of REFDIST shall be less than, or equal to, 16."

[FFmpeg-cvslog] avcodec/apedec: Allocate decoded_buffer after successful ff_get_buffer()

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Sep 3 00:02:53 2019 +0200| [cf41da2ad2ec89a1e1c1ef3ca4f6a5b416f4104e] | committer: Michael Niedermayer avcodec/apedec: Allocate decoded_buffer after successful ff_get_buffer() We need to reset samples in this case to avoid being stuck with

[FFmpeg-cvslog] avcodec/vc1_pred: Fix invalid shifts in scaleforopp()

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Sep 10 18:57:25 2019 +0200| [ced9a1cd0ab76a65e509b0d7c56965d61ea1df84] | committer: Michael Niedermayer avcodec/vc1_pred: Fix invalid shifts in scaleforopp() Fixes: left shift of negative value -2 Fixes:

[FFmpeg-cvslog] avcodec/hevc_cabac: Tighten the limit on k in ff_hevc_cu_qp_delta_abs()

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Mon Sep 9 23:23:20 2019 +0200| [f63cd1963e36bc70211e072bac7eb3606cf85f14] | committer: Michael Niedermayer avcodec/hevc_cabac: Tighten the limit on k in ff_hevc_cu_qp_delta_abs() Values larger would fail subsequent tests. Fixes: signed integer

[FFmpeg-cvslog] avcodec/vc1: Check for excessive resolution

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Thu Aug 8 19:30:50 2019 +0200| [181e138da7207523b387eabc28d24e74a46248bc] | committer: Michael Niedermayer avcodec/vc1: Check for excessive resolution Fixes: overflow in aspect ratio calculation Fixes: signed integer overflow: 393215 * 14594

[FFmpeg-cvslog] avcodec/vc1_block: Fix invalid shift with rangeredfrm

2019-09-28 Thread Michael Niedermayer
ffmpeg | branch: master | Michael Niedermayer | Tue Sep 10 17:39:45 2019 +0200| [c722a69253a280b86b1d2a4ca00c89345a796781] | committer: Michael Niedermayer avcodec/vc1_block: Fix invalid shift with rangeredfrm Fixes: left shift of negative value -7 Fixes:

[FFmpeg-cvslog] avfilter/vf_xbr: Fix left shift of negative number

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 28 04:25:56 2019 +0200| [4294dc3589a3ab973b10a85b576ff15e3ffb000d] | committer: Michael Niedermayer avfilter/vf_xbr: Fix left shift of negative number Affected every usage of vf_xbr, e.g. the FATE-tests filter-2xbr, filter-3xbr,

[FFmpeg-cvslog] swscale/utils: Fix invalid left shifts of negative numbers

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 28 04:26:02 2019 +0200| [e2646e23be69bdef1e41d4decee1a4298701b8d1] | committer: Michael Niedermayer swscale/utils: Fix invalid left shifts of negative numbers Affected the FATE-tests vsynth_lena-dv-411, vsynth1-dv-411, vsynth2-dv-411 and

[FFmpeg-cvslog] swscale/x86/swscale: Fix undefined left shifts of negative numbers

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 28 04:25:58 2019 +0200| [736c7c20e7819811dc59f43490563789b192eb6e] | committer: Michael Niedermayer swscale/x86/swscale: Fix undefined left shifts of negative numbers This affected many FATE-tests: The number of failing tests went down

[FFmpeg-cvslog] avcodec/ffv1enc: Fix out-of-bounds-array access

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 28 04:26:01 2019 +0200| [f7bc0386d935e541a610a36595476710c036bfae] | committer: Michael Niedermayer avcodec/ffv1enc: Fix out-of-bounds-array access libavcodec/ffv1enc.c accessed an array of uint8_t [32] via array[0][j] in order to loop

[FFmpeg-cvslog] avfilter/vf_hqx: Fix undefined left shifts of negative numbers

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 28 04:25:57 2019 +0200| [fa211943265ca991548a4cc2f85a6df9cedcd092] | committer: Michael Niedermayer avfilter/vf_hqx: Fix undefined left shifts of negative numbers Affected every usage of this filter; in particular, it affected the

[FFmpeg-cvslog] avcodec/ituh263dec: Fix undefined left shift of negative number

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 28 04:26:07 2019 +0200| [324487b596fbcda0a5753c7bb7b2e96e9d512479] | committer: Michael Niedermayer avcodec/ituh263dec: Fix undefined left shift of negative number Fixes ticket #8160. Signed-off-by: Andreas Rheinhardt Signed-off-by:

[FFmpeg-cvslog] avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 28 04:26:10 2019 +0200| [5cf593adcd79a7c9502dc2725e1f0681ada36aef] | committer: Michael Niedermayer avcodec/jpeg2000dwt: Fix undefined shifts of negative numbers Affected the vsynth*-jpeg2000 and the vsynth*-jpeg2000-97 FATE tests (where

[FFmpeg-cvslog] avcodec/dnxhdenc: Fix undefined left shifts of negative numbers

2019-09-28 Thread Andreas Rheinhardt
ffmpeg | branch: master | Andreas Rheinhardt | Sat Sep 28 04:26:06 2019 +0200| [b7f156e8cbdf3256c7860c62ebb7a6c3002cbb03] | committer: Michael Niedermayer avcodec/dnxhdenc: Fix undefined left shifts of negative numbers Affected 61 FATE-tests: 60 vsynth tests and lavf-mxf_opatom.