summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libavformat/avisynth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/avisynth.c b/libavformat/avisynth.c
index 3119a45204..2d36f6533c 100644
--- a/libavformat/avisynth.c
+++ b/libavformat/avisynth.c
@@ -256,7 +256,7 @@ static int avisynth_create_stream_video(AVFormatContext *s, AVStream *st) {
break;
#endif
case AVS_CS_BGR24:
- st->codec->pix_fmt = PIX_FMT_RGB24;
+ st->codec->pix_fmt = PIX_FMT_BGR24;
break;
case AVS_CS_BGR32:
st->codec->pix_fmt = PIX_FMT_RGB32;