summaryrefslogtreecommitdiff
path: root/libavformat/segafilm.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/segafilm.c')
-rw-r--r--libavformat/segafilm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/segafilm.c b/libavformat/segafilm.c
index 23eea64956..068d432083 100644
--- a/libavformat/segafilm.c
+++ b/libavformat/segafilm.c
@@ -150,7 +150,7 @@ static int film_read_header(AVFormatContext *s)
if (film->video_type == AV_CODEC_ID_RAWVIDEO) {
if (scratch[20] == 24) {
- st->codec->pix_fmt = PIX_FMT_RGB24;
+ st->codec->pix_fmt = AV_PIX_FMT_RGB24;
} else {
av_log(s, AV_LOG_ERROR, "raw video is using unhandled %dbpp\n", scratch[20]);
return -1;