-int ff_mediacodec_dec_decode(AVCodecContext *avctx,
- MediaCodecDecContext *s,
- AVFrame *frame,
- int *got_frame,
- AVPacket *pkt);
+int ff_mediacodec_dec_send(AVCodecContext *avctx,
+ MediaCodecDecContext *s,
+ AVPacket *pkt);
+
+int ff_mediacodec_dec_receive(AVCodecContext *avctx,
+ MediaCodecDecContext *s,
+ AVFrame *frame,
+ bool wait);