diff --git a/libavformat/iff.c b/libavformat/iff.c index 62f0b8387c..2a0633158f 100644 --- a/libavformat/iff.c +++ b/libavformat/iff.c @@ -584,7 +584,7 @@ static int iff_read_header(AVFormatContext *s) } break; case 2: - tag = ref < FF_ARRAY_ELEMS(dsd_source_comment) ? dsd_history_comment[ref] : "source_comment"; + tag = ref < FF_ARRAY_ELEMS(dsd_source_comment) ? dsd_source_comment[ref] : "source_comment"; break; case 3: tag = ref < FF_ARRAY_ELEMS(dsd_history_comment) ? dsd_history_comment[ref] : "file_history";