]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/c93.c
utvideodec: Support UQRA and UQRG
[ffmpeg] / libavcodec / c93.c
index c7cc68296a739319cb11f98ab453dd7d57e8160e..e75148328ed5ff324eabc2c12959698498984348 100644 (file)
@@ -23,7 +23,7 @@
 #include "bytestream.h"
 #include "internal.h"
 
-typedef struct {
+typedef struct C93DecoderContext {
     AVFrame *pictures[2];
     int currentpic;
 } C93DecoderContext;
@@ -260,5 +260,6 @@ AVCodec ff_c93_decoder = {
     .init           = decode_init,
     .close          = decode_end,
     .decode         = decode_frame,
-    .capabilities   = CODEC_CAP_DR1,
+    .capabilities   = AV_CODEC_CAP_DR1,
+    .caps_internal  = FF_CODEC_CAP_INIT_THREADSAFE,
 };