Zhao, Gang (12020-05-02):
> Fixed deprecated declarations compile warning by replacing deprecated
> api avcodec_encode_{audio,video}2() and
> avcodec_decode_{audio4,video2}() with
> avcodec_send_frame()/avcodec_receive_packet() and
> avcodec_send_packet()/avcodec_receive_frame(). Also made some cle
Fixed deprecated declarations compile warning by replacing deprecated
api avcodec_encode_{audio,video}2() and
avcodec_decode_{audio4,video2}() with
avcodec_send_frame()/avcodec_receive_packet() and
avcodec_send_packet()/avcodec_receive_frame(). Also made some clean up
according to this change.
Sig