[FFmpeg-devel] [PATCH 1/4] doc/examples/demuxing_decoding: Fixed a compile warning
Zhao, Gang
gang.zhao.42 at gmail.com
Sat May 2 15:29:08 EEST 2020
On Sat, May 2, 2020 at 7:20 PM Nicolas George <george at nsup.org> 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.
> >
> > Signed-off-by: Zhao, Gang <gang.zhao.42 at gmail.com>
> > ---
> > Tested that the new code generated the same files as before by running
> > ./doc/examples/demuxing_decoding_g my_samples/demuxing_decoding.mp4
> my_samples/demuxing_decoding.video my_samples/demuxing_decoding.audio
> >
> > doc/examples/demuxing_decoding.c | 102 ++++++++++++-------------------
> > 1 file changed, 38 insertions(+), 64 deletions(-)
>
> Same remark as for the other similar patches: it is not fixing a
> warning, it changing the whole logic.
>
> Hi. Thanks for your comment. What about change the commit log to "Refactor
the code to replace deprecated api with the recommended one"?
I think that might better describe what I did in the patch.
Regards,
>
> --
> Nicolas George
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-request at ffmpeg.org with subject "unsubscribe".
More information about the ffmpeg-devel
mailing list