diff options
Diffstat (limited to 'libavcodec/opusdec.c')
-rw-r--r-- | libavcodec/opusdec.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavcodec/opusdec.c b/libavcodec/opusdec.c index 8ad53c7cb3..ff7dd6c631 100644 --- a/libavcodec/opusdec.c +++ b/libavcodec/opusdec.c @@ -412,11 +412,10 @@ finish: return output_samples; } -static int opus_decode_packet(AVCodecContext *avctx, void *data, +static int opus_decode_packet(AVCodecContext *avctx, AVFrame *frame, int *got_frame_ptr, AVPacket *avpkt) { OpusContext *c = avctx->priv_data; - AVFrame *frame = data; const uint8_t *buf = avpkt->data; int buf_size = avpkt->size; int coded_samples = 0; |