avformat/iff: Fix "source comment"
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Aug 2014 16:16:46 +0000 (18:16 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 5 Aug 2014 16:16:46 +0000 (18:16 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/iff.c

index 62f0b83..2a06331 100644 (file)
@@ -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";