]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/txd.c
Remove unnecessary assignment, found by CSA.
[ffmpeg] / libavcodec / txd.c
index 44bbad4cab10da800b6259d448fc4fce7084f98f..a3cbde5f0b495c3cd06d3ac9ce168d0a461db122 100644 (file)
@@ -39,7 +39,8 @@ static av_cold int txd_init(AVCodecContext *avctx) {
 }
 
 static int txd_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
-                            const uint8_t *buf, int buf_size) {
+                            AVPacket *avpkt) {
+    const uint8_t *buf = avpkt->data;
     TXDContext * const s = avctx->priv_data;
     AVFrame *picture = data;
     AVFrame * const p = &s->picture;