vlc | branch: master | Vittorio Giovara <[email protected]> | Sat Oct 1 18:03:15 2016 -0400| [1e2ed00836283c18b1ce9fa2634ee41f09675911] | committer: Vittorio Giovara
vpx: Use the numerical range value The `range` field was introduced in 1.4, but the enumeration value was added only in 1.5. Since it used for a boolean check, use the numerical value directly to keep compatibility with older libvpx. > http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=1e2ed00836283c18b1ce9fa2634ee41f09675911 --- modules/codec/vpx.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/codec/vpx.c b/modules/codec/vpx.c index 93e618d..30303fd 100644 --- a/modules/codec/vpx.c +++ b/modules/codec/vpx.c @@ -230,7 +230,7 @@ static picture_t *Decode(decoder_t *dec, block_t **pp_block) dec->fmt_out.video.i_sar_den = 1; } - v->b_color_range_full = img->range == VPX_CR_FULL_RANGE; + v->b_color_range_full = img->range == 1; switch( img->cs ) { _______________________________________________ vlc-commits mailing list [email protected] https://mailman.videolan.org/listinfo/vlc-commits
