diff options
author | Clément Bœsch <ubitux@gmail.com> | 2012-06-15 18:41:14 +0200 |
---|---|---|
committer | Clément Bœsch <ubitux@gmail.com> | 2012-06-15 18:41:14 +0200 |
commit | 47395a4f529aa78791da979e3dc13db82beb2cec (patch) | |
tree | 7f49839054c697f9739c3435dfec20c0cf703ebc /libavcodec/microdvddec.c | |
parent | 608bda925a933be6ffdb91937125b6bba0c8a3d7 (diff) | |
download | ffmpeg-47395a4f529aa78791da979e3dc13db82beb2cec.tar.gz |
lavc/microdvddec: properly reset non persistent color tag.
Diffstat (limited to 'libavcodec/microdvddec.c')
-rw-r--r-- | libavcodec/microdvddec.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/microdvddec.c b/libavcodec/microdvddec.c index 33a75c4f9e..a5623624e1 100644 --- a/libavcodec/microdvddec.c +++ b/libavcodec/microdvddec.c @@ -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) { |