[vlc-commits] avcodec: fix typo

Thomas Guillem git at videolan.org
Sun Apr 17 11:38:19 CEST 2016


vlc | branch: master | Thomas Guillem <thomas at gllm.fr> | Sun Apr 17 12:38:07 2016 +0300| [de3baaadb41ec1637653013c0258f23673551eee] | committer: Thomas Guillem

avcodec: fix typo

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=de3baaadb41ec1637653013c0258f23673551eee
---

 modules/codec/avcodec/video.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/modules/codec/avcodec/video.c b/modules/codec/avcodec/video.c
index ad925f6..a97fec2 100644
--- a/modules/codec/avcodec/video.c
+++ b/modules/codec/avcodec/video.c
@@ -193,7 +193,7 @@ static int lavc_GetVideoFormat(decoder_t *dec, video_format_t *restrict fmt,
                                  * __MAX(ctx->ticks_per_frame, 1);
     }
 
-    if( ctx->color_range = AVCOL_RANGE_JPEG )
+    if( ctx->color_range == AVCOL_RANGE_JPEG )
         fmt->b_color_range_full = true;
 
     switch( ctx->colorspace )



More information about the vlc-commits mailing list