diff options
author | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2012-02-07 10:54:49 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-02-09 23:55:33 +0100 |
commit | ea4037162fb0afa871e5312a7b23c828d2b85066 (patch) | |
tree | 1caf00eb1145448857d4a16754aab03ca319c79b /libavcodec/libstagefright.cpp | |
parent | 3b25d6193caedf4288d70d0ea55a0d4a93a6aeca (diff) | |
download | ffmpeg-ea4037162fb0afa871e5312a7b23c828d2b85066.tar.gz |
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>
Diffstat (limited to 'libavcodec/libstagefright.cpp')
-rw-r--r-- | libavcodec/libstagefright.cpp | 24 |
1 files changed, 17 insertions, 7 deletions
diff --git a/libavcodec/libstagefright.cpp b/libavcodec/libstagefright.cpp index e29a377311..8e93b4610b 100644 --- a/libavcodec/libstagefright.cpp +++ b/libavcodec/libstagefright.cpp @@ -536,17 +536,27 @@ static av_cold int Stagefright_close(AVCodecContext *avctx) AVCodec ff_libstagefright_h264_decoder = { "libstagefright_h264", + NULL_IF_CONFIG_SMALL("libstagefright H.264"), AVMEDIA_TYPE_VIDEO, 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), + NULL, //next + NULL, //init_thread_copy + NULL, //update_thread_context + NULL, //defaults + NULL, //init_static_data Stagefright_init, NULL, //encode - Stagefright_close, + NULL, //encode2 Stagefright_decode_frame, - CODEC_CAP_DELAY, - NULL, //next - NULL, //flush - NULL, //supported_framerates - NULL, //pixel_formats - NULL_IF_CONFIG_SMALL("libstagefright H.264"), + Stagefright_close, }; |