You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-07-06 06:27:36 +02:00
vcr1: Fix return type of common_init to match the function pointer signature.
libavcodec/vcr1.c:182: warning: initialization from incompatible pointer type
This commit is contained in:
@ -33,11 +33,13 @@ typedef struct VCR1Context {
|
||||
int offset[4];
|
||||
} VCR1Context;
|
||||
|
||||
static av_cold void common_init(AVCodecContext *avctx)
|
||||
static av_cold int common_init(AVCodecContext *avctx)
|
||||
{
|
||||
VCR1Context *const a = avctx->priv_data;
|
||||
|
||||
avctx->coded_frame = &a->picture;
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static av_cold int decode_init(AVCodecContext *avctx)
|
||||
|
Reference in New Issue
Block a user