diff --git a/libavformat/iff.c b/libavformat/iff.c
index b8e8bffe03..704e1ebf66 100644
|
a
|
b
|
static int iff_read_header(AVFormatContext *s)
|
| 633 | 633 | /* DSD tags */ |
| 634 | 634 | |
| 635 | 635 | case MKTAG('F','V','E','R'): |
| | 636 | if (st->codecpar->codec_tag == ID_DSD || st->codecpar->codec_tag == ID_DST) { |
| 636 | 637 | if (data_size < 4) |
| 637 | 638 | return AVERROR_INVALIDDATA; |
| 638 | 639 | version = avio_rb32(pb); |
| 639 | 640 | av_log(s, AV_LOG_DEBUG, "DSIFF v%d.%d.%d.%d\n",version >> 24, (version >> 16) & 0xFF, (version >> 8) & 0xFF, version & 0xFF); |
| 640 | 641 | st->codecpar->codec_type = AVMEDIA_TYPE_AUDIO; |
| | 642 | } |
| 641 | 643 | break; |
| 642 | 644 | |
| 643 | 645 | case MKTAG('D','I','I','N'): |