aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/pictordec.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2011-12-30 20:00:53 +0100
committerCarl Eugen Hoyos <cehoyos@ag.or.at>2011-12-30 20:00:53 +0100
commitba10207bbe5ebd97b5afc3f19baf4a1ad8f974d5 (patch)
treec5602a20dc46f1f6dc9e555d0d1b1926a17cf210 /libavcodec/pictordec.c
parent73ba2c1e62a870c7d7b27cd8093ef39447a57903 (diff)
downloadffmpeg-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/pictordec.c')
-rw-r--r--libavcodec/pictordec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/pictordec.c b/libavcodec/pictordec.c
index 7c95f89bbd..b3b5f7ef4f 100644
--- a/libavcodec/pictordec.c
+++ b/libavcodec/pictordec.c
@@ -253,7 +253,7 @@ AVCodec ff_pictor_decoder = {
.type = AVMEDIA_TYPE_VIDEO,
.id = CODEC_ID_PICTOR,
.priv_data_size = sizeof(PicContext),
- decode_init,
+ .init = decode_init,
.close = decode_end,
.decode = decode_frame,
.capabilities = CODEC_CAP_DR1,