mirror of
https://github.com/librempeg/librempeg
synced 2024-11-22 09:02:20 +00:00
Fix skiping typos
Found-by: Alessandro Ghedini <alessandro@ghedini.me> Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
parent
9abf08f79f
commit
e9ad121ba5
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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) ||
|
||||
|
@ -1160,7 +1160,7 @@ start_sync:
|
||||
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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user