Commit ef0c83a7 authored by ramiro's avatar ramiro

mlpdec: Simplify no restart header seen error.

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@18239 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 4b17741c
......@@ -997,9 +997,6 @@ static int read_access_unit(AVCodecContext *avctx, void* data, int *data_size,
}
if (!s->restart_seen) {
av_log(m->avctx, AV_LOG_ERROR,
"No restart header present in substream %d.\n",
substr);
goto next_substr;
}
......@@ -1008,9 +1005,6 @@ static int read_access_unit(AVCodecContext *avctx, void* data, int *data_size,
}
if (!s->restart_seen) {
av_log(m->avctx, AV_LOG_ERROR,
"No restart header present in substream %d.\n",
substr);
goto next_substr;
}
......@@ -1055,6 +1049,11 @@ static int read_access_unit(AVCodecContext *avctx, void* data, int *data_size,
}
next_substr:
if (!s->restart_seen) {
av_log(m->avctx, AV_LOG_ERROR,
"No restart header present in substream %d.\n", substr);
}
buf += substream_data_len[substr];
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment