You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-10 06:10:52 +02:00
lavc/libx264: print an error on invalid opaque pointer
This commit is contained in:
@@ -596,6 +596,8 @@ static int X264_frame(AVCodecContext *ctx, AVPacket *pkt, const AVFrame *frame,
|
||||
wallclock = out_opaque->wallclock;
|
||||
} else {
|
||||
// Unexpected opaque pointer on picture output
|
||||
av_log(ctx, AV_LOG_ERROR, "Unexpected opaque pointer; "
|
||||
"this is a bug, please report it.\n");
|
||||
ctx->reordered_opaque = 0;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user