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:
parent
608bda925a
commit
47395a4f52
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user