[FFmpeg-cvslog] lavc/microdvddec: properly reset non persistent color tag.
Clément Bœsch
git at videolan.org
Fri Jun 15 18:49:37 CEST 2012
ffmpeg | branch: master | Clément Bœsch <ubitux at gmail.com> | Fri Jun 15 18:41:14 2012 +0200| [47395a4f529aa78791da979e3dc13db82beb2cec] | committer: Clément Bœsch
lavc/microdvddec: properly reset non persistent color tag.
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=47395a4f529aa78791da979e3dc13db82beb2cec
---
libavcodec/microdvddec.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/libavcodec/microdvddec.c b/libavcodec/microdvddec.c
index 33a75c4..a562362 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) {
More information about the ffmpeg-cvslog
mailing list