mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
avrndec: silence warning about incompatible pointer types
Signed-off-by: Paul B Mahol <onemda@gmail.com>
This commit is contained in:
parent
bfb39023b0
commit
8f9941b160
@ -58,7 +58,7 @@ static av_cold int init(AVCodecContext *avctx)
|
||||
return 0;
|
||||
}
|
||||
|
||||
static av_cold void end(AVCodecContext *avctx)
|
||||
static av_cold int end(AVCodecContext *avctx)
|
||||
{
|
||||
AVRnContext *a = avctx->priv_data;
|
||||
AVFrame *p = &a->frame;
|
||||
@ -68,6 +68,8 @@ static av_cold void end(AVCodecContext *avctx)
|
||||
|
||||
if(a->is_mjpeg)
|
||||
ff_mjpeg_decode_end(avctx);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int decode_frame(AVCodecContext *avctx, void *data, int *data_size, AVPacket *avpkt)
|
||||
|
Loading…
x
Reference in New Issue
Block a user