Skip to content

Commit

Permalink
Fix skiping typos
Browse files Browse the repository at this point in the history
Found-by: Alessandro Ghedini <[email protected]>
Signed-off-by: Michael Niedermayer <[email protected]>
  • Loading branch information
michaelni committed Apr 27, 2014
1 parent 9abf08f commit e9ad121
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions libavcodec/flacdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -512,12 +512,12 @@ static int flac_decode_frame(AVCodecContext *avctx, void *data,
}

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

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

Expand Down
2 changes: 1 addition & 1 deletion libavcodec/vc1dec.c
Original file line number Diff line number Diff line change
Expand Up @@ -5997,7 +5997,7 @@ static int vc1_decode_frame(AVCodecContext *avctx, void *data,

/* 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)) {
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;
}
if ((avctx->skip_frame >= AVDISCARD_NONREF && s->pict_type == AV_PICTURE_TYPE_B) ||
Expand Down
2 changes: 1 addition & 1 deletion libavformat/avidec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1160,7 +1160,7 @@ static int avi_sync(AVFormatContext *s, int exit_early)
ast = st->priv_data;

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

Expand Down
2 changes: 1 addition & 1 deletion libavformat/flvdec.c
Original file line number Diff line number Diff line change
Expand Up @@ -296,7 +296,7 @@ static int parse_keyframes_index(AVFormatContext *s, AVIOContext *ioc,
int64_t initial_pos = avio_tell(ioc);

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

Expand Down

0 comments on commit e9ad121

Please sign in to comment.