Browse Source

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

tags/n1.1
Nicolas George 13 years ago
parent
commit
ca4872e887
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavformat/sbgdec.c

+ 2
- 2
libavformat/sbgdec.c View File

@@ -946,7 +946,7 @@ static int expand_tseq(void *log, struct sbg_script *s, int *nb_ev_max,
struct sbg_script_event *ev; struct sbg_script_event *ev;


if (tseq->lock++) { 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); tseq->name_len, tseq->name);
return AVERROR(EINVAL); return AVERROR(EINVAL);
} }
@@ -957,7 +957,7 @@ static int expand_tseq(void *log, struct sbg_script *s, int *nb_ev_max,
break; break;
} }
if (i >= s->nb_def) { 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); tseq->name_len, tseq->name);
return AVERROR(EINVAL); return AVERROR(EINVAL);
} }


Loading…
Cancel
Save