diff options
author | Martin Storsjö <martin@martin.st> | 2012-04-06 19:19:39 +0300 |
---|---|---|
committer | Martin Storsjö <martin@martin.st> | 2012-04-06 22:37:38 +0300 |
commit | 00c3b67b8ac6bfdc5a01535173dc537824a53d6e (patch) | |
tree | 5e792eb0a8fa6cc4f1b1c039b12e733309dfc7d4 /libavcodec/libopenjpeg.c | |
parent | 6d27d8b1dddc779d5800ace3f96697c91eca51dd (diff) | |
download | ffmpeg-00c3b67b8ac6bfdc5a01535173dc537824a53d6e.tar.gz |
cosmetics: Align codec declarations
Also break some long lines, remove codec function placeholder comments
and add spaces in sample/pixel format lists.
Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'libavcodec/libopenjpeg.c')
-rw-r--r-- | libavcodec/libopenjpeg.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/libavcodec/libopenjpeg.c b/libavcodec/libopenjpeg.c index 1facd21044..3ea6203ad2 100644 --- a/libavcodec/libopenjpeg.c +++ b/libavcodec/libopenjpeg.c @@ -211,15 +211,15 @@ static av_cold int libopenjpeg_decode_close(AVCodecContext *avctx) AVCodec ff_libopenjpeg_decoder = { - .name = "libopenjpeg", - .type = AVMEDIA_TYPE_VIDEO, - .id = CODEC_ID_JPEG2000, - .priv_data_size = sizeof(LibOpenJPEGContext), - .init = libopenjpeg_decode_init, - .close = libopenjpeg_decode_close, - .decode = libopenjpeg_decode_frame, - .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, - .max_lowres = 5, - .long_name = NULL_IF_CONFIG_SMALL("OpenJPEG based JPEG 2000 decoder"), - .init_thread_copy = ONLY_IF_THREADS_ENABLED(libopenjpeg_decode_init_thread_copy) + .name = "libopenjpeg", + .type = AVMEDIA_TYPE_VIDEO, + .id = CODEC_ID_JPEG2000, + .priv_data_size = sizeof(LibOpenJPEGContext), + .init = libopenjpeg_decode_init, + .close = libopenjpeg_decode_close, + .decode = libopenjpeg_decode_frame, + .capabilities = CODEC_CAP_DR1 | CODEC_CAP_FRAME_THREADS, + .max_lowres = 5, + .long_name = NULL_IF_CONFIG_SMALL("OpenJPEG based JPEG 2000 decoder"), + .init_thread_copy = ONLY_IF_THREADS_ENABLED(libopenjpeg_decode_init_thread_copy), }; |