Signed-off-by: Zhao, Gang
---
libavdevice/avdevice.c | 31 ---
1 file changed, 24 insertions(+), 7 deletions(-)
diff --git libavdevice/avdevice.c libavdevice/avdevice.c
index 3d03d89f04..8c1b296d71 100644
--- libavdevice/avdevice.c
+++ libavdevice/avdevice.c
Disable deprecation declarations compile warning when we really need
to call these deprecated functions.
Signed-off-by: Zhao, Gang
---
Changes from v1:
Removed unnecessary #if check
libavcodec/encode.c | 2 ++
libavcodec/frame_thread_encoder.c | 2 ++
2 files changed, 4
Signed-off-by: Zhao, Gang
---
libavformat/allformats.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git libavformat/allformats.c libavformat/allformats.c
index 3919c9e4c1..47cf885699 100644
--- libavformat/allformats.c
+++ libavformat/allformats.c
@@ -520,7 +520,7 @@ const
Signed-off-by: Zhao, Gang
---
libavformat/options.c | 14 --
1 file changed, 8 insertions(+), 6 deletions(-)
diff --git libavformat/options.c libavformat/options.c
index e14510504f..cec6ee3621 100644
--- libavformat/options.c
+++ libavformat/options.c
@@ -55,26 +55,28 @@ static void
Signed-off-by: Zhao, Gang
---
Changes from v1:
Rephrased the commit log to better describe what this patch does.
Removed calling of av_log_set_level(AV_LOG_DEBUG) which is used for debugging.
This patch doesn't depend on other patches and can be applied separately.
Tested that the new
On Sat, May 2, 2020 at 9:24 PM James Almer wrote:
> On 5/2/2020 7:10 AM, Zhao, Gang wrote:
> > Replaced deprecated api avcodec_decode_{audio4,video2}() with
> > avcodec_send_packet()/avcodec_receive_frame(). Also made some clean up
> > according to this change.
> >
&g
On Sat, May 2, 2020 at 7:20 PM Nicolas George wrote:
> Zhao, Gang (12020-05-02):
> > Replaced deprecated api avcodec_decode_{audio4,video2}() with
> > avcodec_send_packet()/avcodec_receive_frame(). Also made some clean up
> > according to this change.
> >
&g
On Sat, May 2, 2020 at 6:13 PM Nicolas George wrote:
> Zhao, Gang (12020-05-02):
> > Fixed deprecation declarations compile warning by replacing deprecated
> > api avcodec_encode_{audio,video}2() with
> > avcodec_send_frame()/avcodec_receive_packet(). Also made some clea
Replaced deprecated api avcodec_decode_{audio4,video2}() with
avcodec_send_packet()/avcodec_receive_frame(). Also made some clean up
according to this change.
Signed-off-by: Zhao, Gang
---
Tested that the new code generated the same files as before by running
./doc/examples/demuxing_decoding_g
.
Signed-off-by: Zhao, Gang
---
Tested that the new code generated the same file as before by running
./doc/examples/transcoding_g my_samples/transcoding.mp4
my_samples/transcoding.avi
doc/examples/transcoding.c | 106 +++--
1 file changed, 55 insertions(+), 51
Fixed deprecation declarations compile warning by replacing deprecated
api avcodec_encode_{audio,video}2() with
avcodec_send_frame()/avcodec_receive_packet(). Also made some clean up
according to this change.
Signed-off-by: Zhao, Gang
---
Tested that the new code generated the same file as
Disable deprecation declarations compile warning when we really need
to call these deprecated functions.
Signed-off-by: Zhao, Gang
---
libavcodec/encode.c | 4
libavcodec/frame_thread_encoder.c | 4
2 files changed, 8 insertions(+)
diff --git libavcodec/encode.c
trac #7255.
Signed-off-by: Zhao, Gang
---
libavformat/lrcdec.c | 38 +-
1 file changed, 13 insertions(+), 25 deletions(-)
diff --git libavformat/lrcdec.c libavformat/lrcdec.c
index a9a117691a..3b206cf079 100644
--- libavformat/lrcdec.c
+++ libavformat/lrcdec.c
13 matches
Mail list logo