Browse Source

mlpdec: Simplify no restart header seen error.

Originally committed as revision 18239 to svn://svn.ffmpeg.org/ffmpeg/trunk
tags/v0.6
Ramiro Polla 16 years ago
parent
commit
01aaf09274
1 changed files with 5 additions and 6 deletions
  1. +5
    -6
      libavcodec/mlpdec.c

+ 5
- 6
libavcodec/mlpdec.c View File

@@ -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];
}



Loading…
Cancel
Save