e5b1f2b027
avcodec/mpeg4_unpack_bframes_bsf: implement a AVBSFContext.flush() callback
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-16 23:43:12 -03:00
e9980c451e
avcodec/vp9_superframe_bsf: implement a AVBSFContext.flush() callback
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-16 23:43:11 -03:00
63e0846c66
avcodec/vp9_superframe_split_bsf: implement a AVBSFContext.flush() callback
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-16 23:43:11 -03:00
390f156451
avcodec/h264_mp4toannexb_bsf: implement a AVBSFContext.flush() callback
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-16 23:43:10 -03:00
b33f5299a5
avcodec/bsf: add a flushing mechanism to AVBSFContext
...
Meant to reset the internal bsf state without the need to reinitialize it.
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-16 23:43:10 -03:00
fe06ed22e6
lavfi: fix can't dispaly "slice" sub-option in "ffmpeg -h full"
...
fix can't dispaly "slice" sub-option in "ffmpeg -h full" for
AVFilter options.
Signed-off-by: Jun Zhao <mypopydev@gmail.com >
2018-08-16 19:45:07 +08:00
6a0feafebe
avcodec/frame_thread_encoder: fix memory leak that occurs when close encoder without sending eof and receiving to end
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-16 03:05:54 +02:00
3378194ce8
avcodec/scpr: Check for min > max in decompress_p()
...
Fixes: Timeout
Fixes: 9342/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SCPR_fuzzer-4795990841229312
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-16 01:06:17 +02:00
9b604e96a5
avcodec/shorten: Fix signed 32bit overflow in shift in shorten_decode_frame()
...
Fixes: runtime error: left shift of 1 by 31 places cannot be represented in type 'int'
Fixes: 9480/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-6647324284551168 -rss_limit_mb=2000
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-16 00:55:39 +02:00
db7e9082e1
avcodec/shorten: Fix integer overflow in residual/LPC combination
...
Fixes: signed integer overflow: -540538872 + -2012739576 cannot be represented in type 'int'
Fixes: 9255/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5758630052757504
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-16 00:55:37 +02:00
7007dabec0
avcodec/shorten: Check verbatim length
...
Fixes: Timeout
Fixes: 9252/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_SHORTEN_fuzzer-5780720709533696
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-16 00:55:34 +02:00
2612431d1b
avfilter/vf_hue: 10bit support
...
Tested-by: Tobias Rapp <t.rapp@noa-archive.com >
Tested-by: Reto Kromer <lists@reto.ch >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-16 00:07:59 +02:00
4f8e65c458
doc/filters: Add entry for sr filter.
...
Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro >
2018-08-15 22:30:46 +05:30
67599812a3
avutil/encryption_info: Fix size calculation.
...
Found by Chrome's ClusterFuzz: https://crbug.com/873693
Signed-off-by: Jacob Trimble <modmaker@google.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-15 01:33:45 +02:00
22f98ac19c
network: Check for EINTR in ff_poll_interrupt
...
Signed-off-by: Martin Storsjö <martin@martin.st >
2018-08-14 22:30:33 +03:00
c194b9ad6d
network: Use ff_neterrno instead of AVERROR(errno) for poll errors
...
This makes sure to pick up the actual error codes on windows.
Signed-off-by: Martin Storsjö <martin@martin.st >
2018-08-14 22:30:29 +03:00
5d01bd181b
http: pass return code from http_open_cnx_internal() on its failure
...
Previously, AVERROR(EIO) was returned on failure of
http_open_cnx_internal(). Now the value is passed to upper level, thus
it is possible to distinguish ECONNREFUSED, ETIMEDOUT, ENETUNREACH etc.
Signed-off-by: Martin Storsjö <martin@martin.st >
2018-08-14 22:30:23 +03:00
f5559dd869
lavfi/vf_colorconstancy: cosmetic update
2018-08-14 20:56:51 +02:00
729ebd3cd0
lavfi/vf_colorconstancy: change option ranges
2018-08-14 20:55:08 +02:00
1f18a633c6
libavfilter: Adds proper file descriptions to dnn_srcnn.h and dnn_espcn.h.
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com >
2018-08-14 15:02:41 -03:00
95cb2127ad
libavfilter/vf_sr.c: Removes uint8 -> float and float -> uint8 conversions.
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com >
2018-08-14 15:02:27 -03:00
2ecf9d103a
libavfilter/dnn_backend_tf.c: Fixes ff_dnn_free_model_tf.
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com >
2018-08-14 15:02:09 -03:00
72d9b8f4c5
lavc/videotoolboxenc: Fix compilation on osx 10.10.5 Yosemite
...
Signed-off-by: Aman Gupta <aman@tmm1.net >
2018-08-14 10:01:30 -07:00
02741853d7
avformat: correct fdebug loglevel
...
fftools/cmdutils sets loglevel for fdebug to DEBUG but all fdebug output
except for two were emitted at TRACE.
2018-08-14 22:06:30 +05:30
582bc5a348
libswscale: Adds conversions from/to float gray format.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-14 18:22:39 +02:00
551a029a18
libavformat/dashdec: Support negative value of the @r attrbute of S in SegmentTimeline element.
...
The following patch supports parsing negative value of the @r attribute of S in SegmentTimeline element.
Example streams:
1. http://dash.edgesuite.net/dash264/TestCases/1c/qualcomm/1/MultiRate.mpd
2. http://dash.edgesuite.net/dash264/TestCases/1c/qualcomm/2/MultiRate.mpd
2018-08-13 16:53:59 +08:00
5423fe29da
lavfi: add erosion_opencl, dilation_opencl filters
...
Add erosion_opencl, dilation_opencl filters. Behave like existing erosion and dilation filters.
2018-08-12 21:52:06 +01:00
0f4c3b0b8e
avcodec/mpegaudio_parser: Initialize poutbuf*
...
Possibly fixes: null pointer dereference
Possibly fixes: 9352/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADUFLOAT_fuzzer-5146068961460224
Fixes: Heap-use-after-free
Fixes: 9453/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MP3ADUFLOAT_fuzzer-5137954375729152
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-12 21:51:39 +02:00
bf97d11b08
avcodec/ivi: Factor width dereference out of the loops in ivi_output_plane()
...
396078 -> 268468 dezicycles
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-12 21:48:15 +02:00
82920bf494
avcodec/ivi: Only clip samples when needed in ivi_output_plane()
...
435740 -> 396078 dezicycles
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-12 21:48:11 +02:00
6d8a289c98
avcodec/indeo5: require initial valid intra/gop headers not just later
...
Fixes: Timeout
Fixes: 9308/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_INDEO5_fuzzer-5284853581873152
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-12 21:48:08 +02:00
f91e7ec9df
avcodec/microdvddec: limit style characters in parsing
...
Fixes: Timeout
Fixes: 9293/clusterfuzz-testcase-minimized-ffmpeg_AV_CODEC_ID_MICRODVD_fuzzer-5643972541153280
Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-12 21:47:17 +02:00
00ae3498bf
libavutil: Adds gray floating-point pixel formats.
...
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-11 02:37:42 +02:00
12673bb253
lavf/mov.c: Set start_time for all streams (in case of edit lists).
...
Fixes vorbis mp4 audio files, with edit list specified. Since
st->skip_samples is not set in case of vorbis , ffmpeg computes the
start_time as negative.
Signed-off-by: Sasi Inguva <isasi@google.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-11 02:37:42 +02:00
87cc7e8d4e
lavfi/vf_libvmaf: update to use libvmaf v1.3.9
...
Signed-off-by: Kyle Swanson <kswanson@netflix.com >
2018-08-10 12:00:12 -07:00
1581caa7ca
lavc/hevcdec: add ONLY_IF_THREADS_ENABLED where it is missing.
...
add ONLY_IF_THREADS_ENABLED where it is missing.
Signed-off-by: Jun Zhao <mypopydev@gmail.com >
Reviewed-by: James Almer <jamrial@gmail.com >
2018-08-10 18:48:25 +08:00
eb1860e017
lavfi/selectivecolor: fix neutral color filtering
...
Neutrals are supposed to be anything not black (0,0,0) and not white
(N,N,N).
Previous neutral filtering code was too strict by excluding colors with
any of its RGB component maxed instead of just the white color.
Reported-by: Royi Avital <royiavital@yahoo.com >
2018-08-09 19:56:26 +02:00
e0539f0349
lavfi/xbr: update filter url
...
Existing link is broken.
This patch updates the existing url with a working one.
Signed-off-by: Mina <minasamy_@hotmail.com >
Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro >
2018-08-09 10:35:00 +05:30
6130068453
lavf/mov: Force HEVC codec_id for code-point dvh1 and an hvcC atom.
...
The mp4 registration authority accepted a code-point for Dolby Vision
HEVC that was already used as a fourcc for DVCPRO 100.
Fixes ticket #7347 .
2018-08-09 00:44:07 +02:00
af4c2acddd
libavformat/dashdec: Fix for un-free memory
...
Fixes ticket #7338 .
2018-08-08 23:55:25 +02:00
90dc584d21
MAINTAINERS: add myself to MIPS section
...
Signed-off-by: Shiyou Yin <yinshiyou-hf@loongson.cn >
Reviewed-by: Manojkumar Bhosale <Manojkumar.Bhosale@imgtec.com >
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc >
2018-08-08 01:00:10 +02:00
b955a33314
ffmpeg: simplify refcounting packets for the muxing queue
...
Signed-off-by: James Almer <jamrial@gmail.com >
2018-08-07 18:42:35 -03:00
f563e7868f
avs2: correct avs2 description
...
Signed-off-by: hwren <hwrenx@126.com >
Signed-off-by: Gyan Doshi <ffmpeg@gyani.pro >
2018-08-08 00:13:13 +05:30
81f25a1051
lavc/libx264: Support monochrome encoding.
2018-08-07 20:41:02 +02:00
a66e74306a
libavfilter: Fixes warnings for unused variables in dnn_srcnn.h, dnn_espcn.h, dnn_backend_tf.c.
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com >
2018-08-07 13:28:04 -03:00
9d87897ba8
libavfilter: Code style fixes for pointers in DNN module and sr filter.
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com >
2018-08-07 11:58:34 -03:00
4eb63efbda
libavfilter: Adds on the fly generation of default DNN models for tensorflow backend instead of storing binary model.
...
Signed-off-by: Pedro Arthur <bygrandao@gmail.com >
2018-08-07 11:58:03 -03:00
243ecadad5
avformat/flvdec: add flv_full_metadata option into flvdec
...
output all the metadata context when use this option.
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-08-07 15:51:36 +08:00
3b99bb3889
avformat/flvdec: reindent code for previous commit
...
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-08-07 15:50:47 +08:00
d37125fb91
avformat/flvdec: add flv_ignore_prevtag option into flvdec
...
Signed-off-by: Steven Liu <lq@chinaffmpeg.org >
2018-08-07 15:48:23 +08:00