summaryrefslogtreecommitdiff
path: root/libavdevice/caca.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavdevice/caca.c')
-rw-r--r--libavdevice/caca.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavdevice/caca.c b/libavdevice/caca.c
index c47906ecd9..6cd0306d18 100644
--- a/libavdevice/caca.c
+++ b/libavdevice/caca.c
@@ -126,7 +126,7 @@ static int caca_write_header(AVFormatContext *s)
return AVERROR(EINVAL);
}
- if (encctx->pix_fmt != PIX_FMT_RGB24) {
+ if (encctx->pix_fmt != AV_PIX_FMT_RGB24) {
av_log(s, AV_LOG_ERROR,
"Unsupported pixel format '%s', choose rgb24\n",
av_get_pix_fmt_name(encctx->pix_fmt));