Re: [FFmpeg-devel] [PATCH 2/4] doc/examples/muxing.c: Fixed a compile warning

2020-05-02 Thread Nicolas George
Zhao, Gang (12020-05-02): > With the new api, function write_audio_frame and write_video_frame can be > combined to one. > Because there is already a local function called write_frame, I changed the > name to muxing_write_frame > to avoid name collision. Multiple changes in the same patch make it

Re: [FFmpeg-devel] [PATCH 2/4] doc/examples/muxing.c: Fixed a compile warning

2020-05-02 Thread Zhao, Gang
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 clean up > > according to this

Re: [FFmpeg-devel] [PATCH 2/4] doc/examples/muxing.c: Fixed a compile warning

2020-05-02 Thread Nicolas George
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 clean up > according to this change. That is not "fixing a warning", that is changing the wh