On Sat, May 2, 2020 at 7:20 PM Nicolas George <geo...@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...@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@ffmpeg.org
> https://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>
> To unsubscribe, visit link above, or email
> ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to