diff options
author | Anton Khirnov <anton@khirnov.net> | 2022-11-27 11:18:06 +0100 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2022-11-28 10:34:10 +0100 |
commit | 9d95abda53f31fffc28ec3436536a5657fca68e1 (patch) | |
tree | 082ff905d6fc798aa4bb8adf20c885c9347330fc | |
parent | b6eadb83db61eaec4fb88fb3dfcc66f2dc55745d (diff) |
lavc/libx264: print an error on invalid opaque pointer
-rw-r--r-- | libavcodec/libx264.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c index b680e2098e..e8ca3d896b 100644 --- a/libavcodec/libx264.c +++ b/libavcodec/libx264.c @@ -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; } |