[FFmpeg-cvslog] oma: clearify ambiguous if condition

David Goldwich git at videolan.org
Mon Dec 5 00:43:08 CET 2011


ffmpeg | branch: master | David Goldwich <david.goldwich at gmail.com> | Fri Dec  2 05:54:19 2011 +0100| [e96070074db451b650d214f3e1e9df99ac11773a] | committer: Anton Khirnov

oma: clearify ambiguous if condition

Signed-off-by: David Goldwich <david.goldwich at gmail.com>
Signed-off-by: Anton Khirnov <anton at khirnov.net>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e96070074db451b650d214f3e1e9df99ac11773a
---

 libavformat/oma.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavformat/oma.c b/libavformat/oma.c
index 9e98202..0d81a43 100644
--- a/libavformat/oma.c
+++ b/libavformat/oma.c
@@ -202,8 +202,8 @@ static int decrypt_init(AVFormatContext *s, ID3v2ExtraMeta *em, uint8_t *header)
     while (em) {
         if (!strcmp(em->tag, "GEOB") &&
             (geob = em->data) &&
-            !strcmp(geob->description, "OMG_LSI") ||
-            !strcmp(geob->description, "OMG_BKLSI")) {
+            (!strcmp(geob->description, "OMG_LSI") ||
+             !strcmp(geob->description, "OMG_BKLSI"))) {
             break;
         }
         em = em->next;



More information about the ffmpeg-cvslog mailing list