Commit 8cfb9ccf authored by Michael Niedermayer's avatar Michael Niedermayer

avcodec/utils: Fix "warning: pointer type mismatch in conditional expression"

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 05786230
......@@ -2951,7 +2951,7 @@ void avcodec_string(char *buf, int buf_size, AVCodecContext *enc, int encode)
int bitrate;
int new_line = 0;
AVRational display_aspect_ratio;
const char *separator = enc->dump_separator ? enc->dump_separator : ", ";
const char *separator = enc->dump_separator ? (const char *)enc->dump_separator : ", ";
if (!buf || buf_size <= 0)
return;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment