avcodec/vp9: Remove excessive log messages
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -1797,18 +1797,14 @@ static int init_frames(AVCodecContext *avctx)
|
|||||||
|
|
||||||
for (i = 0; i < 3; i++) {
|
for (i = 0; i < 3; i++) {
|
||||||
s->s.frames[i].tf.f = av_frame_alloc();
|
s->s.frames[i].tf.f = av_frame_alloc();
|
||||||
if (!s->s.frames[i].tf.f) {
|
if (!s->s.frames[i].tf.f)
|
||||||
av_log(avctx, AV_LOG_ERROR, "Failed to allocate frame buffer %d\n", i);
|
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
for (i = 0; i < 8; i++) {
|
for (i = 0; i < 8; i++) {
|
||||||
s->s.refs[i].f = av_frame_alloc();
|
s->s.refs[i].f = av_frame_alloc();
|
||||||
s->next_refs[i].f = av_frame_alloc();
|
s->next_refs[i].f = av_frame_alloc();
|
||||||
if (!s->s.refs[i].f || !s->next_refs[i].f) {
|
if (!s->s.refs[i].f || !s->next_refs[i].f)
|
||||||
av_log(avctx, AV_LOG_ERROR, "Failed to allocate frame buffer %d\n", i);
|
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
|
Reference in New Issue
Block a user