Commit e9ad121b authored by Michael Niedermayer's avatar Michael Niedermayer

Fix skiping typos

Found-by: 's avatarAlessandro Ghedini <alessandro@ghedini.me>
Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 9abf08f7
...@@ -512,12 +512,12 @@ static int flac_decode_frame(AVCodecContext *avctx, void *data, ...@@ -512,12 +512,12 @@ static int flac_decode_frame(AVCodecContext *avctx, void *data,
} }
if (buf_size > 5 && !memcmp(buf, "\177FLAC", 5)) { if (buf_size > 5 && !memcmp(buf, "\177FLAC", 5)) {
av_log(s->avctx, AV_LOG_DEBUG, "skiping flac header packet 1\n"); av_log(s->avctx, AV_LOG_DEBUG, "skipping flac header packet 1\n");
return buf_size; return buf_size;
} }
if (buf_size > 0 && (*buf & 0x7F) == FLAC_METADATA_TYPE_VORBIS_COMMENT) { if (buf_size > 0 && (*buf & 0x7F) == FLAC_METADATA_TYPE_VORBIS_COMMENT) {
av_log(s->avctx, AV_LOG_DEBUG, "skiping vorbis comment\n"); av_log(s->avctx, AV_LOG_DEBUG, "skipping vorbis comment\n");
return buf_size; return buf_size;
} }
......
...@@ -5997,7 +5997,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data, ...@@ -5997,7 +5997,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,
/* skip B-frames if we don't have reference frames */ /* skip B-frames if we don't have reference frames */
if (s->last_picture_ptr == NULL && (s->pict_type == AV_PICTURE_TYPE_B || s->droppable)) { if (s->last_picture_ptr == NULL && (s->pict_type == AV_PICTURE_TYPE_B || s->droppable)) {
av_log(v->s.avctx, AV_LOG_DEBUG, "Skiping B frame without reference frames\n"); av_log(v->s.avctx, AV_LOG_DEBUG, "Skipping B frame without reference frames\n");
goto end; goto end;
} }
if ((avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type == AV_PICTURE_TYPE_B) || if ((avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type == AV_PICTURE_TYPE_B) ||
......
...@@ -1160,7 +1160,7 @@ start_sync: ...@@ -1160,7 +1160,7 @@ start_sync:
ast = st->priv_data; ast = st->priv_data;
if (!ast) { if (!ast) {
av_log(s, AV_LOG_WARNING, "Skiping foreign stream %d packet\n", n); av_log(s, AV_LOG_WARNING, "Skipping foreign stream %d packet\n", n);
continue; continue;
} }
......
...@@ -296,7 +296,7 @@ static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc, ...@@ -296,7 +296,7 @@ static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc,
int64_t initial_pos = avio_tell(ioc); int64_t initial_pos = avio_tell(ioc);
if (vstream->nb_index_entries>0) { if (vstream->nb_index_entries>0) {
av_log(s, AV_LOG_WARNING, "Skiping duplicate index\n"); av_log(s, AV_LOG_WARNING, "Skipping duplicate index\n");
return 0; return 0;
} }
......
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