lavc/microdvddec: properly reset non persistent color tag.
This commit is contained in:
parent
608bda925a
commit
47395a4f52
@ -226,7 +226,7 @@ static void microdvd_close_no_persistent_tags(AVBPrint *new_line,
|
|||||||
{
|
{
|
||||||
int i, sidx;
|
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)
|
if (tags[i].persistent != MICRODVD_PERSISTENT_OFF)
|
||||||
continue;
|
continue;
|
||||||
switch (tags[i].key) {
|
switch (tags[i].key) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user