summaryrefslogtreecommitdiff
path: root/libavcodec/cfhd.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-08-03 22:41:45 +0200
committerPaul B Mahol <onemda@gmail.com>2020-08-03 22:45:17 +0200
commitacaed62ad1f4ba8f1c6c84d15a99cee03b1322b6 (patch)
treeee7258efb6be8ed2a5344323bfa32b7e27674e76 /libavcodec/cfhd.c
parentd2b9cb11329107707125cffd02cbc238175a9f74 (diff)
avcodec/cfhd: correct 71 tag usage
It stores input format and never codebook.
Diffstat (limited to 'libavcodec/cfhd.c')
-rw-r--r--libavcodec/cfhd.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 8cd475cba4..36fdc840a6 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -555,9 +555,8 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
break;
}
s->plane[s->channel_num].band[s->level][s->subband_num].height = data;
- } else if (tag == 71) {
- s->codebook = data;
- av_log(avctx, AV_LOG_DEBUG, "Codebook %i\n", s->codebook);
+ } else if (tag == InputFormat) {
+ av_log(avctx, AV_LOG_DEBUG, "Input format %i\n", data);
} else if (tag == BandCodingFlags) {
s->codebook = data & 0xf;
s->difference_coding = (data >> 4) & 1;