if (s->next_pic.f) { if (s->next_pic.f->width != s->cur_pic.f->width || s->next_pic.f->height != s->cur_pic.f->height || s->next_pic.f->format != s->cur_pic.f->format) { av_log(s->avctx, AV_LOG_WARNING, "Cannot use next picture in error concealment\n"); memset(&s->next_pic, 0, sizeof(s->next_pic)); } }
Computer Tips - What does the warning "Cannot use next picture in error concealment"
Date: 2015jun9
Product: ffmpeg
Q. What does the warning "Cannot use next picture in error concealment"
mean and how can I get rid of it?
A. It means the current picture and the next picture differ
in width, height or format. How to avoid it?
If you are the encoder - don't do that.
If you are the decoder - you are just reacting to what you have received so there isn't much you can do.
Here's the actual code: