Commit 47395a4f authored by Clément Bœsch's avatar Clément Bœsch

lavc/microdvddec: properly reset non persistent color tag.

parent 608bda92
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment