summaryrefslogtreecommitdiff
path: root/libavcodec/cfhd.c
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2020-08-09 13:21:34 +0200
committerPaul B Mahol <onemda@gmail.com>2020-08-09 18:47:29 +0200
commit17d1454a5f925f5f9755f3ef5471ae61e31927ed (patch)
tree1c39d43e748d6e0a86641f37b3ca51195ed9e83c /libavcodec/cfhd.c
parentfc3546becec8da6c62d12f2e2174d84355731820 (diff)
avcodec/cfhd: log version tags too
Diffstat (limited to 'libavcodec/cfhd.c')
-rw-r--r--libavcodec/cfhd.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/libavcodec/cfhd.c b/libavcodec/cfhd.c
index 94eaccc733..a7390327bf 100644
--- a/libavcodec/cfhd.c
+++ b/libavcodec/cfhd.c
@@ -457,6 +457,16 @@ static int cfhd_decode(AVCodecContext *avctx, void *data, int *got_frame,
} else if (tag == FrameType) {
s->frame_type = data;
av_log(avctx, AV_LOG_DEBUG, "Frame type %"PRIu16"\n", data);
+ } else if (abstag == VersionMajor) {
+ av_log(avctx, AV_LOG_DEBUG, "Version major %"PRIu16"\n", data);
+ } else if (abstag == VersionMinor) {
+ av_log(avctx, AV_LOG_DEBUG, "Version minor %"PRIu16"\n", data);
+ } else if (abstag == VersionRevision) {
+ av_log(avctx, AV_LOG_DEBUG, "Version revision %"PRIu16"\n", data);
+ } else if (abstag == VersionEdit) {
+ av_log(avctx, AV_LOG_DEBUG, "Version edit %"PRIu16"\n", data);
+ } else if (abstag == Version) {
+ av_log(avctx, AV_LOG_DEBUG, "Version %"PRIu16"\n", data);
} else if (tag == ImageWidth) {
av_log(avctx, AV_LOG_DEBUG, "Width %"PRIu16"\n", data);
s->coded_width = data;