Fix libstagefright compilation
Comment-by-michael: iam commiting this as the code cannot work without it and likely works with it. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
committed by
Michael Niedermayer
parent
3b25d6193c
commit
ea4037162f
@@ -536,17 +536,27 @@ static av_cold int Stagefright_close(AVCodecContext *avctx)
|
|||||||
|
|
||||||
AVCodec ff_libstagefright_h264_decoder = {
|
AVCodec ff_libstagefright_h264_decoder = {
|
||||||
"libstagefright_h264",
|
"libstagefright_h264",
|
||||||
|
NULL_IF_CONFIG_SMALL("libstagefright H.264"),
|
||||||
AVMEDIA_TYPE_VIDEO,
|
AVMEDIA_TYPE_VIDEO,
|
||||||
CODEC_ID_H264,
|
CODEC_ID_H264,
|
||||||
|
CODEC_CAP_DELAY,
|
||||||
|
NULL, //supported_framerates
|
||||||
|
NULL, //pix_fmts
|
||||||
|
NULL, //supported_samplerates
|
||||||
|
NULL, //sample_fmts
|
||||||
|
NULL, //channel_layouts
|
||||||
|
0, //max_lowres
|
||||||
|
NULL, //priv_class
|
||||||
|
NULL, //profiles
|
||||||
sizeof(StagefrightContext),
|
sizeof(StagefrightContext),
|
||||||
|
NULL, //next
|
||||||
|
NULL, //init_thread_copy
|
||||||
|
NULL, //update_thread_context
|
||||||
|
NULL, //defaults
|
||||||
|
NULL, //init_static_data
|
||||||
Stagefright_init,
|
Stagefright_init,
|
||||||
NULL, //encode
|
NULL, //encode
|
||||||
Stagefright_close,
|
NULL, //encode2
|
||||||
Stagefright_decode_frame,
|
Stagefright_decode_frame,
|
||||||
CODEC_CAP_DELAY,
|
Stagefright_close,
|
||||||
NULL, //next
|
|
||||||
NULL, //flush
|
|
||||||
NULL, //supported_framerates
|
|
||||||
NULL, //pixel_formats
|
|
||||||
NULL_IF_CONFIG_SMALL("libstagefright H.264"),
|
|
||||||
};
|
};
|
||||||
|
|||||||
Reference in New Issue
Block a user