From: Jun Zhao
This happens if ffurl_open_whitelist fails and stream is unset.
Signed-off-by: Jun Zhao
---
libavformat/rtmpproto.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 5274993..42aacbd 100644
From: Jun Zhao
Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/
SRTO_KMPREANNOUNCE for srt encryption control.
Signed-off-by: Jun Zhao
---
doc/protocols.texi | 16
libavformat/libsrt.c | 18 ++
2 files changed, 34 insertions(+), 0 deletions
From: Jun Zhao
Fix the memory leak in error handle path.
Signed-off-by: Jun Zhao
---
libavfilter/avf_showspectrum.c |5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index d5785af..3a3ef7e 100644
From: Jun Zhao
add linger parameter to libsrt, it's setting the number of seconds
that the socket waits for unsent data when closing.
Reviewed-by: Andriy Gelman
Signed-off-by: Jun Zhao
---
doc/protocols.texi |5 +
libavformat/libsrt.c | 13 +
2 files changed, 18
V3: - add more details for linger options. tks Andriy Gelman's comments
- fix minor typo in commit message.
V2: - correct the commit message.
Jun Zhao (2):
lavf/libsrt: add linger parameter to libsrt
lavf/libsrt: enable other encryption parameters
doc/protocols.texi | 21
From: Jun Zhao
Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/
SRTO_KMPREANNOUNCE for srt encryption control.
Signed-off-by: Jun Zhao
---
doc/protocols.texi | 16
libavformat/libsrt.c | 18 ++
2 files changed, 34 insertions(+), 0 deletions
From: Jun Zhao
Enable the SRTO_ENFORCEDENCRYPTION/SRTO_KMREFRESHRATE/
SRTO_KMPREANNOUNCE for srt encryption control.
Signed-off-by: Jun Zhao
---
doc/protocols.texi | 16
libavformat/libsrt.c | 18 ++
2 files changed, 34 insertions(+), 0 deletions
From: Jun Zhao
add linger parameter to libsrt, it's setting he number of seconds
that the socket waits for unsent data when closing.
Signed-off-by: Jun Zhao
---
doc/protocols.texi |4
libavformat/libsrt.c | 13 +
2 files changed, 17 insertions(+), 0 deletions(-)
diff
V2: - correct the commit message.
Jun Zhao (2):
lavf/libsrt: add linger parameter to libsrt
lavf/srt: enable other encryption parameters
doc/protocols.texi | 20
libavformat/libsrt.c | 31 +++
2 files changed, 51 insertions(+), 0
From: Jun Zhao
add pkt_size parameter to libsrt, it's setting he number of seconds
that the socket waits for unsent data when closing.
Signed-off-by: Jun Zhao
---
doc/protocols.texi |4
libavformat/libsrt.c | 13 +
2 files changed, 17 insertions(+), 0 deletions
From: Jun Zhao
fix potential null pointer dereference
Signed-off-by: Jun Zhao
---
libavcodec/mvha.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libavcodec/mvha.c b/libavcodec/mvha.c
index 636b5e6..4b03a79 100644
--- a/libavcodec/mvha.c
+++ b/libavcodec/mvha.c
From: Jun Zhao
check avformat_new_stream() return.
Signed-off-by: Jun Zhao
---
libavformat/vividas.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libavformat/vividas.c b/libavformat/vividas.c
index f20af3d..16642c0 100644
--- a/libavformat/vividas.c
+++ b
From: Jun Zhao
free the PB when get EOF.
Signed-off-by: Jun Zhao
---
libavformat/vividas.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libavformat/vividas.c b/libavformat/vividas.c
index 16642c0..f354d7d 100644
--- a/libavformat/vividas.c
+++ b/libavformat
From: Jun Zhao
enable the PC(2^n -1) colorspace in libx264rgb
fix #8404
Signed-off-by: Jun Zhao
---
libavcodec/libx264.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index bfd91bb..60607ca 100644
--- a/libavcodec
From: Jun Zhao
enable the PC(2^n -1) colorspace in libx264rgb
fix #8404
Signed-off-by: Jun Zhao
---
libavcodec/libx264.c |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index bfd91bb..60607ca 100644
--- a/libavcodec
From: Jun Zhao
add stackblur filter
Signed-off-by: Jun Zhao
---
doc/filters.texi | 22 +
libavfilter/Makefile |1 +
libavfilter/allfilters.c |1 +
libavfilter/vf_stackblur.c | 1040
4 files changed, 1064 insertions(+), 0
V3:
- Add RGB24/RGBA/YUV support
- Use the LUT
- ToDo: enable slice threading support
Jun Zhao (1):
lavfi/stackblur: add stackblur filter
doc/filters.texi | 22 +
libavfilter/Makefile |1 +
libavfilter/allfilters.c |1 +
libavfilter/vf_stackblur.c | 1040
From: Jun Zhao
fix the playpath truncation if the len > 512
Found-by: liuwenhuang
Signed-off-by: Jun Zhao
---
libavformat/rtmpproto.c |8 +---
1 files changed, 5 insertions(+), 3 deletions(-)
diff --git a/libavformat/rtmpproto.c b/libavformat/rtmpproto.c
index 42c6b94..5274
From: Jun Zhao
add superfastblur filter
Signed-off-by: Jun Zhao
---
doc/filters.texi | 15 +++
libavfilter/Makefile |1 +
libavfilter/allfilters.c |1 +
libavfilter/vf_superfastblur.c | 274
4 files changed, 291
From: Jun Zhao
add stackblur filter
Signed-off-by: Jun Zhao
---
doc/filters.texi | 22 +++
libavfilter/Makefile |1 +
libavfilter/allfilters.c |1 +
libavfilter/vf_stackblur.c | 362
4 files changed, 386 insertions
V1: - fix R/B swap issue in superfastblur, tks Zhao Zhili
- add stackblur, it is a compromise between Gaussian Blur and Box blur
Jun Zhao (2):
lavfi/superfastblur: add superfastblur filter
lavfi/stackblur: add stackblur filter
doc/filters.texi | 37
libavfilter
From: Jun Zhao
add superfastblur filter
Signed-off-by: Jun Zhao
---
doc/filters.texi | 15 ++
libavfilter/Makefile |1 +
libavfilter/allfilters.c |1 +
libavfilter/vf_superfastblur.c | 275
4 files changed, 292
From: Jun Zhao
Enable probesize/max_analyze_duration setting when open the sub-demuxer,
it's will be used to minimizing the initial delay.
Signed-off-by: Jun Zhao
---
libavformat/dashdec.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/dashdec.c b
From: Jun Zhao
Add probesize/max_analyze_duration support when open the sub-demuxer,
it's will be used to minimizing the initial delay.
Signed-off-by: Jun Zhao
---
libavformat/hls.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
From: Jun Zhao
fix indentation
Signed-off-by: Jun Zhao
---
libavformat/flvenc.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavformat/flvenc.c b/libavformat/flvenc.c
index fb1dede..9d13275 100644
--- a/libavformat/flvenc.c
+++ b/libavformat/flvenc.c
From: Jun Zhao
add log context dump in log message.
Signed-off-by: Jun Zhao
---
libavformat/mov.c | 30 +++---
1 files changed, 15 insertions(+), 15 deletions(-)
diff --git a/libavformat/mov.c b/libavformat/mov.c
index 4f69664..d5c67fb 100644
--- a/libavformat/mov.c
From: Jun Zhao
Fix the log context setting in log message
Signed-off-by: Jun Zhao
---
libavformat/hls.c | 14 +++---
1 files changed, 7 insertions(+), 7 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index ac151d5..8ce1ad9 100644
--- a/libavformat/hls.c
+++ b
From: Jun Zhao
Clean the option description and unused code.
Signed-off-by: Jun Zhao
---
libavfilter/vf_bilateral.c |7 +--
1 files changed, 1 insertions(+), 6 deletions(-)
diff --git a/libavfilter/vf_bilateral.c b/libavfilter/vf_bilateral.c
index 31578a0..3c9d800 100644
From: Jun Zhao
fix memory leak
Signed-off-by: Jun Zhao
---
libavformat/hlsenc.c |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index cd43201..5a27b0f 100644
--- a/libavformat/hlsenc.c
+++ b/libavformat/hlsenc.c
@@ -585,6
From: Jun Zhao
add error handle if av_asprintf return null.
Signed-off-by: Jun Zhao
---
libavfilter/avf_showspectrum.c | 10 ++
1 files changed, 10 insertions(+), 0 deletions(-)
diff --git a/libavfilter/avf_showspectrum.c b/libavfilter/avf_showspectrum.c
index f175bf1..d5785af
From: Jun Zhao
add error handle if av_asprintf return null.
Signed-off-by: Jun Zhao
---
fftools/ffmpeg_opt.c |6 ++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/fftools/ffmpeg_opt.c b/fftools/ffmpeg_opt.c
index fa22eb3..af9a9a6 100644
--- a/fftools/ffmpeg_opt.c
+++ b
From: Jun Zhao
Remove unnecessary cast for void * pointer.
Signed-off-by: Jun Zhao
---
libavfilter/vf_remap.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_remap.c b/libavfilter/vf_remap.c
index b1c3e43..720020c 100644
--- a/libavfilter/vf_remap.c
From: Jun Zhao
Remove unnecessary cast for void * pointer.
Signed-off-by: Jun Zhao
---
libavfilter/vf_v360.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/vf_v360.c b/libavfilter/vf_v360.c
index a28a03d..a0f3c52 100644
--- a/libavfilter/vf_v360.c
+++ b
From: Jun Zhao
Remove unnecessary cast for void * pointer.
Signed-off-by: Jun Zhao
---
libavfilter/vf_lenscorrection.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/vf_lenscorrection.c b/libavfilter/vf_lenscorrection.c
index 239fe19..b5400a2 100644
From: Jun Zhao
typedef ThreadData as all other filters.
Signed-off-by: Jun Zhao
---
libavfilter/vf_colorspace.c |8
1 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/libavfilter/vf_colorspace.c b/libavfilter/vf_colorspace.c
index 04954c1..db41f64 100644
From: Jun Zhao
Enabled one thread per planar, used the test command for 1080P video
(YUV420P format) as follow:
ffmpeg -i 1080p.mp4 -an -vf hqdn3d -f null /dev/nul
This optimization improved the performance about 30% in 1080P YUV420P
case (from 110fps to 143fps), also pass the framemd5 check
From: Jun Zhao
Enabled one thread per planar, used the test command for 1080P video
(YUV420P format) as follow:
ffmpeg -i 1080p.mp4 -an -vf hqdn3d -f null /dev/nul
This optimization improved the performance about 30% in 1080P YUV420P
case (from 110fps to 143fps), also pass the framemd5 check
From: Jun Zhao
Update documentation for flags/flags2
Signed-off-by: Jun Zhao
---
doc/codecs.texi | 11 ---
1 files changed, 8 insertions(+), 3 deletions(-)
diff --git a/doc/codecs.texi b/doc/codecs.texi
index 0d0de94..15e55cc 100644
--- a/doc/codecs.texi
+++ b/doc/codecs.texi
From: Jun Zhao
fix identation.
Signed-off-by: Jun Zhao
---
libavcodec/decode.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavcodec/decode.c b/libavcodec/decode.c
index 0818475..a7b37c6 100644
--- a/libavcodec/decode.c
+++ b/libavcodec/decode.c
@@ -785,7 +785,7
From: Jun Zhao
Correct the flags for AVCodecContext.flags2.
Signed-off-by: Jun Zhao
---
libavcodec/options_table.h |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavcodec/options_table.h b/libavcodec/options_table.h
index b56e653..4b9f3ff 100644
--- a/libavcodec
From: Jun Zhao
Enabled one thread per planar, used the test command for 1080P video
(YUV420P format) as follow:
ffmpeg -i 1080p.mp4 -an -vf hqdn3d -f null /dev/nul
This optimization improved the performance about 30% in 1080P YUV420P
case (from 110fps to 143fps), also pass the framemd5 check
From: Mengye Lv
When used ROUNDED_DIV(a,b), if a is unsigned integer zero, it's
will lead to an underflow issue(it called unsigned integer
wrapping).
Fixes #8062
Signed-off-by: Mengye Lv
Signed-off-by: Jun Zhao
---
libavutil/common.h |2 +-
1 files changed, 1 insertions(+), 1 deletions
From: Jun Zhao
fix indentation for estimate_timings when dump start_time/duartion.
Signed-off-by: Jun Zhao
---
libavformat/utils.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 9d69e3a..112d19b 100644
From: Jun Zhao
change the log level to warning if can't get duration, it's will help
to debug some duration issue
Signed-off-by: vacingfang
Signed-off-by: Jun Zhao
---
libavformat/utils.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/utils.c b
From: Jun Zhao
in fact, nut demuxer use the PTS for duration estimation.
Signed-off-by: Jun Zhao
---
libavformat/utils.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 07f02a7..9d69e3a 100644
--- a/libavformat
V2: - split the duration estimate as function, only update the patch 5/5
the other patches 1-4 same as the V1.
Jun Zhao (5):
lavf/utils: change the log level to warning if can't get duration
lavf/nutdec: add logging context to log
lavf/utils: correct the duration estimation method
From: Jun Zhao
Add logging context to log, it's will help debuging.
Signed-off-by: Jun Zhao
---
libavformat/nutdec.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 979cb9a..2b5adcb 100644
--- a/libavformat
From: Jun Zhao
add new function duration_estimate_name to dump duration estimate
method, it's will help to debug some duration issue.
Signed-off-by: Jun Zhao
---
libavformat/utils.c | 15 ++-
1 files changed, 14 insertions(+), 1 deletions(-)
diff --git a/libavformat/utils.c b
From: Jun Zhao
add duration estimate method trace, it's can help to some duration
issue trace or debug.
Signed-off-by: Jun Zhao
---
libavformat/utils.c | 16 +++-
1 files changed, 15 insertions(+), 1 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index
From: Jun Zhao
in fact, nut demuxer use the PTS for duration estimation.
Signed-off-by: Jun Zhao
---
libavformat/utils.c |6 +-
1 files changed, 5 insertions(+), 1 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index 45cd6b8..f62a5cb 100644
--- a/libavformat
From: Jun Zhao
change the log level to warning if can't get duration, it's will help
to debug some duration issue
Signed-off-by: vacingfang
Signed-off-by: Jun Zhao
---
libavformat/utils.c |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/libavformat/utils.c b
From: Jun Zhao
fix indentation for estimate_timings when dump start_time/duartion.
Signed-off-by: Jun Zhao
---
libavformat/utils.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/utils.c b/libavformat/utils.c
index f62a5cb..c0ccd8c 100644
From: Jun Zhao
Add logging context to log, it's will help debuging.
Signed-off-by: Jun Zhao
---
libavformat/nutdec.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/nutdec.c b/libavformat/nutdec.c
index 979cb9a..2b5adcb 100644
--- a/libavformat
From: Jun Zhao
need to free the header in error path.
Signed-off-by: Jun Zhao
---
libavformat/4xm.c |3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/libavformat/4xm.c b/libavformat/4xm.c
index a984fc9..a6101a9 100644
--- a/libavformat/4xm.c
+++ b/libavformat/4xm.c
From: Jun Zhao
ff_format_io_close will check the AVIOContext pointer pb, so drop
the unnecessary check before ff_format_io_close.
Signed-off-by: Jun Zhao
---
libavformat/dashdec.c | 12
1 files changed, 4 insertions(+), 8 deletions(-)
diff --git a/libavformat/dashdec.c b
From: Jun Zhao
add chan_config check to avoid indeterminate channels.
Signed-off-by: Jun Zhao
---
libavcodec/mpeg4audio.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libavcodec/mpeg4audio.c b/libavcodec/mpeg4audio.c
index 2197147..0ada239 100644
From: Jun Zhao
need to free the header in error path
Signed-off-by: Jun Zhao
---
libavformat/4xm.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/4xm.c b/libavformat/4xm.c
index a984fc9..8054980 100644
--- a/libavformat/4xm.c
+++ b/libavformat/4xm.c
From: Jun Zhao
avpriv_mpeg4audio_get_config will use MPEG4AudioConfig.chan_config to get
the MPEG4AudioConfig.channels, but if we use a uninitialized variable,
we will get an indeterminate channels, add an explicit initialization
for this case.
Signed-off-by: Jun Zhao
---
libavcodec
From: Jun Zhao
avpriv_mpeg4audio_get_config will use MPEG4AudioConfig.chan_config to get
the MPEG4AudioConfig.channels, but if we use a uninitialized variable,
we will get an indeterminate channels, add an explicit initialization
for this case.
Signed-off-by: Jun Zhao
---
libavformat
From: Jun Zhao
avpriv_mpeg4audio_get_config will use MPEG4AudioConfig.chan_config to get
the MPEG4AudioConfig.channels, but if we use a uninitialized variable,
we will get an indeterminate channels, add an explicit initialization
for this case.
Signed-off-by: Jun Zhao
---
libavcodec
From: Jun Zhao
avpriv_mpeg4audio_get_config will use MPEG4AudioConfig.chan_config to get
the MPEG4AudioConfig.channels, but if we use a uninitialized variable,
we will get an indeterminate channels, add an explicit initialization
for this case.
Signed-off-by: Jun Zhao
---
libavformat
From: Jun Zhao
avpriv_mpeg4audio_get_config will use MPEG4AudioConfig.chan_config to get
the MPEG4AudioConfig.channels, but if we use a uninitialized variable,
we will get an indeterminate channels, add an explicit initialization
for this case.
Signed-off-by: Jun Zhao
---
libavformat
From: Jun Zhao
refine the log message, it's will help the debugging
Signed-off-by: Jun Zhao
---
libavformat/hls.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 61b6759..10fc568 100644
--- a/libavformat/hls.c
+++ b
From: Jun Zhao
fix memory leak in error handling path for option tmp.
Signed-off-by: Jun Zhao
---
libavformat/hls.c |7 ---
1 files changed, 4 insertions(+), 3 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index bb07dcb..0611ddc 100644
--- a/libavformat/hls.c
+++ b
From: Jun Zhao
ff_format_io_close will check the AVIOContext pointer pb, so drop
the unnecessary check before ff_format_io_close.
Signed-off-by: Jun Zhao
---
libavformat/hls.c | 18 ++
1 files changed, 6 insertions(+), 12 deletions(-)
diff --git a/libavformat/hls.c b
From: Jun Zhao
ffio_init_context with NULL seek callback will setting seekable with 0, so
remove the redundancy seekable setting.
Signed-off-by: Jun Zhao
---
libavformat/hls.c |1 -
1 files changed, 0 insertions(+), 1 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index
From: Jun Zhao
free the pad.name in error handling path to avoid memory leak.
Signed-off-by: Jun Zhao
---
libavfilter/af_anequalizer.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libavfilter/af_anequalizer.c b/libavfilter/af_anequalizer.c
index 03d939f..ee82474
From: Jun Zhao
free the value in error handling path to avoid the memory leak.
Signed-off-by: Jun Zhao
---
libavformat/avidec.c |4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/libavformat/avidec.c b/libavformat/avidec.c
index df78925..e3cd844 100644
From: Jun Zhao
remove unnecessary packet reset in av_interleaved_write_frame
Signed-off-by: Jun Zhao
---
libavformat/mux.c |6 ++
1 files changed, 2 insertions(+), 4 deletions(-)
diff --git a/libavformat/mux.c b/libavformat/mux.c
index 0227c0d..9bac252 100644
--- a/libavformat/mux.c
From: Jun Zhao
free work_wraps in error handling path to avoid memory leak.
Signed-off-by: Jun Zhao
---
libavfilter/asrc_sinc.c |5 -
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/libavfilter/asrc_sinc.c b/libavfilter/asrc_sinc.c
index 0135eb9..90f043d 100644
From: Jun Zhao
fix logic error in framerate check, it's introduced by commit
3ad5d4df9ce794d3eeb0f526c5f3e446bf97c616
Signed-off-by: Jun Zhao
---
libavfilter/avf_concat.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/avf_concat.c b/libavfilter
From: Jun Zhao
Use the command ./configure with/without --disable-v4l2-m2m test.
Signed-off-by: Jun Zhao
---
configure | 28 +++-
1 files changed, 15 insertions(+), 13 deletions(-)
diff --git a/configure b/configure
index 3ef8f4e..4141c1e 100755
--- a/configure
From: Jun Zhao
fix --disable-alsa can't work in configure
Signed-off-by: Jun Zhao
---
configure |4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/configure b/configure
index b5bff39..3ef8f4e 100755
--- a/configure
+++ b/configure
@@ -6486,8 +6486,8 @@ else
EOF
fi
From: Jun Zhao
Always set *size to zero if *bufptr is NULL, it's more make sence.
fix #8095
Signed-off-by: Jun Zhao
---
libavutil/file.c |7 ++-
1 files changed, 6 insertions(+), 1 deletions(-)
diff --git a/libavutil/file.c b/libavutil/file.c
index d946085..f228b72 100644
From: Jun Zhao
We perfer the coding style like:
/* some stuff */
if (error) {
/* error handling */
return -(errorcode);
}
/* normal actions */
do_something()
Signed-off-by: Jun Zhao
---
libavfilter/dnn/dnn_backend_native.c | 24
From: Jun Zhao
fix memory leak in error path
Signed-off-by: Jun Zhao
---
libavfilter/dnn/dnn_backend_native.c |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/libavfilter/dnn/dnn_backend_native.c
b/libavfilter/dnn/dnn_backend_native.c
index 7b489d0..2619463 100644
From: Jun Zhao
ff_filter_frame fail will free the frame, so we just returen after this
function fail.
Signed-off-by: Jun Zhao
---
libavfilter/af_adeclick.c |2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/libavfilter/af_adeclick.c b/libavfilter/af_adeclick.c
index
From: Jun Zhao
ff_merge_samplerates will be deallocate a or b in some case, so
add a check before free the format.
Signed-off-by: Jun Zhao
---
libavfilter/avfiltergraph.c |6 --
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/libavfilter/avfiltergraph.c b/libavfilter
From: Jun Zhao
free the old_filname to avoid memory leak in error handle
path.
Signed-off-by: Jun Zhao
---
libavformat/hlsenc.c |1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/libavformat/hlsenc.c b/libavformat/hlsenc.c
index f6f9c81..9099c84 100644
--- a/libavformat
From: Jun Zhao
Update the class name to uniform indev/outdev style.
Signed-off-by: Jun Zhao
---
libavdevice/alsa_dec.c|2 +-
libavdevice/alsa_enc.c|2 +-
libavdevice/avfoundation.m|2 +-
libavdevice/bktr.c|2 +-
libavdevice/caca.c
From: Jun Zhao
In fMP4 format, traf maybe have zero or more trun box, in this case,
we just used tfdt as dts once. The sample layout like this:
[moof] size=8+1392
[mfhd] size=12+4
sequence number = 29
[traf] size=8+1368
[tfhd] size=12+16, flags=20038
track ID = 1
default
From: tomajsjiang
Add new API ffio_realloc_buf for AVIO buffer realloc.
Signed-off-by: Zhongxing Jiang
---
libavformat/avio_internal.h |9 +
libavformat/aviobuf.c | 31 +++
2 files changed, 40 insertions(+), 0 deletions(-)
diff --git
From: tomajsjiang
fix error like "offset 0x1f85: partial file", the root cause is when
read the mp4 file from http, and the moov in the end of the mp4 file,
reconfig the buffer will drop some data.
Signed-off-by: Jun Zhao
Signed-off-by: Zhongxing Jiang
---
libavformat/util
From: Jun Zhao
Add http_seekable option for HTTP partial requests, when The
EXT-X-BYTERANGE tag indicates that a Media Segment is a sub-range
of the resource identified by its URI, we can use HTTP partial
requests to get the Media Segment.
Signed-off-by: Jun Zhao
---
doc/demuxers.texi |4
From: Jun Zhao
Only add sequence end code for mpeg1/mpeg2 video, or else use the encoder
libx264 or libx265 in this sample, decoding the output file will get
unknow NALU type error.
Signed-off-by: Jun Zhao
---
doc/examples/encode_video.c |3 ++-
1 files changed, 2 insertions(+), 1
V2: - change the level from info to error when get invalid side data
Jun Zhao (2):
lavf/showinfo: support mastering display sidedata
lavf/showinfo: use error level when get invalid sidedata
libavfilter/vf_showinfo.c | 36 +---
1 files changed, 33 insertions
From: Jun Zhao
Use error level when get invalid sidedata, and remove a unnecessary
newline in error message.
Signed-off-by: Jun Zhao
---
libavfilter/vf_showinfo.c |6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/libavfilter/vf_showinfo.c b/libavfilter
From: Jun Zhao
support mastering display sidedata.
Signed-off-by: Jun Zhao
---
libavfilter/vf_showinfo.c | 30 ++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index f6f8f49..d5c444e 100644
From: Jun Zhao
support mastering display sidedata.
Signed-off-by: Jun Zhao
---
libavfilter/vf_showinfo.c | 30 ++
1 files changed, 30 insertions(+), 0 deletions(-)
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index f6f8f49..8889c01 100644
From: Jun Zhao
Document dts_error_threshold option.
Signed-off-by: Jun Zhao
---
doc/ffmpeg.texi |4
1 files changed, 4 insertions(+), 0 deletions(-)
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index cd35eb4..1da18d9 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1515,6
From: Jun Zhao
av_packet_unref have reseted the AVPacket, so don't need to call
reset_packet after that.
Signed-off-by: Jun Zhao
---
libavformat/hls.c |4
1 files changed, 0 insertions(+), 4 deletions(-)
diff --git a/libavformat/hls.c b/libavformat/hls.c
index 8c12fce..238ebd0
From: vacingfang
Replace the same code logic with ensure_playlist(), it's will
help reusable blocks of code.
Reviewed-by: Jun Zhao
Signed-off-by: vacingfang
---
libavformat/hls.c | 10 +++---
1 files changed, 3 insertions(+), 7 deletions(-)
diff --git a/libavformat/hls.c b/libavformat
From: Jun Zhao
Document dts_error_threshold option.
Signed-off-by: Jun Zhao
---
doc/ffmpeg.texi |2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/doc/ffmpeg.texi b/doc/ffmpeg.texi
index cd35eb4..2152e62 100644
--- a/doc/ffmpeg.texi
+++ b/doc/ffmpeg.texi
@@ -1515,6
From: Jun Zhao
Add missing documentation for nointra.
Signed-off-by: Jun Zhao
---
doc/codecs.texi |3 +++
1 files changed, 3 insertions(+), 0 deletions(-)
diff --git a/doc/codecs.texi b/doc/codecs.texi
index 6b72760..0d0de94 100644
--- a/doc/codecs.texi
+++ b/doc/codecs.texi
@@ -963,6
From: Jun Zhao
fix hls muxer time drifts from the actual clock time, based on
Pavel Pilar's fix.
fix: Ticket7986
Signed-off-by: Pavel Pilar
Signed-off-by: Jun Zhao
---
libavformat/hlsenc.c |9 -
1 files changed, 4 insertions(+), 5 deletions(-)
diff --git a/libavformat/hlsenc.c
From: Jun Zhao
support regions of interest sidedata
Signed-off-by: Jun Zhao
---
libavfilter/vf_showinfo.c | 25 +
1 files changed, 25 insertions(+), 0 deletions(-)
diff --git a/libavfilter/vf_showinfo.c b/libavfilter/vf_showinfo.c
index e41c330..f6f8f49 100644
From: Jun Zhao
Remove the function ffio_open2_wrapper, it's not being used anymore.
Signed-off-by: Jun Zhao
---
libavformat/aviobuf.c |6 --
libavformat/internal.h |3 ---
2 files changed, 0 insertions(+), 9 deletions(-)
diff --git a/libavformat/aviobuf.c b/libavformat/aviobuf.c
From: Jun Zhao
Document missing options for scale in/out color matrix
Signed-off-by: Jun Zhao
---
doc/filters.texi |5 +
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/doc/filters.texi b/doc/filters.texi
index 700a76f..b7dec47 100644
--- a/doc/filters.texi
+++ b/doc
From: Jun Zhao
Add sub-options for in_color_matrix/out_color_matrix
Signed-off-by: Jun Zhao
---
libavfilter/vf_scale.c | 12 ++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/libavfilter/vf_scale.c b/libavfilter/vf_scale.c
index f741419..7aebf56 100644
From: Jun Zhao
fix and update docs for HLS muxer
Signed-off-by: Jun Zhao
---
doc/muxers.texi | 24
1 files changed, 16 insertions(+), 8 deletions(-)
diff --git a/doc/muxers.texi b/doc/muxers.texi
index dd64672..d179584 100644
--- a/doc/muxers.texi
+++ b/doc
201 - 300 of 1020 matches
Mail list logo