[FFmpeg-cvslog] lavf/sbgdec: use proper constants for av_log().

Nicolas George git at videolan.org
Sun Nov 25 00:02:25 CET 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Sat Nov 24 23:56:52 2012 +0100| [ca4872e8878dd87d6bf060e049ec7fbd2f0abbe4] | committer: Nicolas George

lavf/sbgdec: use proper constants for av_log().

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

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

diff --git a/libavformat/sbgdec.c b/libavformat/sbgdec.c
index c0987a1..30c3b49 100644
--- a/libavformat/sbgdec.c
+++ b/libavformat/sbgdec.c
@@ -946,7 +946,7 @@ static int expand_tseq(void *log, struct sbg_script *s, int *nb_ev_max,
     struct sbg_script_event *ev;
 
     if (tseq->lock++) {
-        av_log(log, 16, "Recursion loop on \"%.*s\"\n",
+        av_log(log, AV_LOG_ERROR, "Recursion loop on \"%.*s\"\n",
                tseq->name_len, tseq->name);
         return AVERROR(EINVAL);
     }
@@ -957,7 +957,7 @@ static int expand_tseq(void *log, struct sbg_script *s, int *nb_ev_max,
             break;
     }
     if (i >= s->nb_def) {
-        av_log(log, 16, "Tone-set \"%.*s\" not defined\n",
+        av_log(log, AV_LOG_ERROR, "Tone-set \"%.*s\" not defined\n",
                tseq->name_len, tseq->name);
         return AVERROR(EINVAL);
     }



More information about the ffmpeg-cvslog mailing list