diff options
author | Paul B Mahol <onemda@gmail.com> | 2011-12-30 20:00:53 +0100 |
---|---|---|
committer | Carl Eugen Hoyos <cehoyos@ag.or.at> | 2011-12-30 20:00:53 +0100 |
commit | ba10207bbe5ebd97b5afc3f19baf4a1ad8f974d5 (patch) | |
tree | c5602a20dc46f1f6dc9e555d0d1b1926a17cf210 /libavcodec/libopenjpegenc.c | |
parent | 73ba2c1e62a870c7d7b27cd8093ef39447a57903 (diff) | |
download | ffmpeg-ba10207bbe5ebd97b5afc3f19baf4a1ad8f974d5.tar.gz |
Use more designated initializers.
Also remove some pointless NULL/0 assigments.
C++ code must be left as it is because named struct
initializers are not supported by C++ standard.
Diffstat (limited to 'libavcodec/libopenjpegenc.c')
-rw-r--r-- | libavcodec/libopenjpegenc.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/libavcodec/libopenjpegenc.c b/libavcodec/libopenjpegenc.c index 6b37fb08cf..c088acccc9 100644 --- a/libavcodec/libopenjpegenc.c +++ b/libavcodec/libopenjpegenc.c @@ -365,7 +365,6 @@ AVCodec ff_libopenjpeg_encoder = { .init = libopenjpeg_encode_init, .encode = libopenjpeg_encode_frame, .close = libopenjpeg_encode_close, - .decode = NULL, .capabilities = 0, .pix_fmts = (const enum PixelFormat[]){PIX_FMT_RGB24,PIX_FMT_RGBA,PIX_FMT_GRAY8, PIX_FMT_YUV420P,PIX_FMT_YUV422P,PIX_FMT_YUVA420P, |