]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/qdrw.c
h264dec: add forgotten copying of h->sync
[ffmpeg] / libavcodec / qdrw.c
index cd3146388e05bee5ee01691af5a53b2f1afd667d..4c9224c5e969c0eee87bfc6fb9ce4bfd3aae220e 100644 (file)
@@ -152,14 +152,13 @@ static av_cold int decode_end(AVCodecContext *avctx){
 }
 
 AVCodec ff_qdraw_decoder = {
-    "qdraw",
-    AVMEDIA_TYPE_VIDEO,
-    CODEC_ID_QDRAW,
-    sizeof(QdrawContext),
-    decode_init,
-    NULL,
-    decode_end,
-    decode_frame,
-    CODEC_CAP_DR1,
+    .name           = "qdraw",
+    .type           = AVMEDIA_TYPE_VIDEO,
+    .id             = CODEC_ID_QDRAW,
+    .priv_data_size = sizeof(QdrawContext),
+    .init           = decode_init,
+    .close          = decode_end,
+    .decode         = decode_frame,
+    .capabilities   = CODEC_CAP_DR1,
     .long_name = NULL_IF_CONFIG_SMALL("Apple QuickDraw"),
 };