]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/c93.c
AAC: Mark functions that are only called when the output configuration is not locked...
[ffmpeg] / libavcodec / c93.c
index aa6ba0f30680ed656fd6451c9b920251b6ad8af9..0e362cad981c2011cb9964f484fbd173dc235a35 100644 (file)
@@ -113,8 +113,10 @@ static inline void draw_n_color(uint8_t *out, int stride, int width,
 }
 
 static int decode_frame(AVCodecContext *avctx, void *data,
-                            int *data_size, const uint8_t * buf, int buf_size)
+                            int *data_size, AVPacket *avpkt)
 {
+    const uint8_t *buf = avpkt->data;
+    int buf_size = avpkt->size;
     C93DecoderContext * const c93 = avctx->priv_data;
     AVFrame * const newpic = &c93->pictures[c93->currentpic];
     AVFrame * const oldpic = &c93->pictures[c93->currentpic^1];
@@ -250,4 +252,5 @@ AVCodec c93_decoder = {
     decode_end,
     decode_frame,
     CODEC_CAP_DR1,
+    .long_name = NULL_IF_CONFIG_SMALL("Interplay C93"),
 };