[FFmpeg-devel] [PATCH 1/4] doc/examples/demuxing_decoding: Fixed a compile warning
Nicolas George
george at nsup.org
Sat May 2 14:20:35 EEST 2020
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.
Regards,
--
Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <https://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20200502/ea167a1e/attachment.sig>
More information about the ffmpeg-devel
mailing list