1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2024-12-23 12:43:46 +02:00

lavc/microdvddec: properly reset non persistent color tag.

This commit is contained in:
Clément Bœsch 2012-06-15 18:41:14 +02:00
parent 608bda925a
commit 47395a4f52

View File

@ -226,7 +226,7 @@ static void microdvd_close_no_persistent_tags(AVBPrint *new_line,
{
int i, sidx;
for (i = sizeof(MICRODVD_TAGS) - 2; i; i--) {
for (i = sizeof(MICRODVD_TAGS) - 2; i >= 0; i--) {
if (tags[i].persistent != MICRODVD_PERSISTENT_OFF)
continue;
switch (tags[i].key) {