diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-10-19 12:18:57 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-10-19 12:18:57 -0400 |
commit | 2a388b53f2e6f728127e800032712b3dbe3295ec (patch) | |
tree | ecbbb35c3c6f50df11b020929c7c8b03dff04005 /vp10/decoder/decodeframe.c | |
parent | 60c58b52846ee9fa2672f7843ce7b22bc46a699f (diff) | |
download | libvpx-2a388b53f2e6f728127e800032712b3dbe3295ec.tar libvpx-2a388b53f2e6f728127e800032712b3dbe3295ec.tar.gz libvpx-2a388b53f2e6f728127e800032712b3dbe3295ec.tar.bz2 libvpx-2a388b53f2e6f728127e800032712b3dbe3295ec.zip |
vp10: write colorspace info for profile 0 intraonly frames.
See issue 1087.
Change-Id: I231f6f12f870d0a56391daf1673536048418b207
Diffstat (limited to 'vp10/decoder/decodeframe.c')
-rw-r--r-- | vp10/decoder/decodeframe.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/vp10/decoder/decodeframe.c b/vp10/decoder/decodeframe.c index 2c3f357ea..c3ab3d2bc 100644 --- a/vp10/decoder/decodeframe.c +++ b/vp10/decoder/decodeframe.c @@ -1989,6 +1989,9 @@ static size_t read_uncompressed_header(VP10Decoder *pbi, if (!vp10_read_sync_code(rb)) vpx_internal_error(&cm->error, VPX_CODEC_UNSUP_BITSTREAM, "Invalid frame sync code"); +#if CONFIG_MISC_FIXES + read_bitdepth_colorspace_sampling(cm, rb); +#else if (cm->profile > PROFILE_0) { read_bitdepth_colorspace_sampling(cm, rb); } else { @@ -2004,6 +2007,7 @@ static size_t read_uncompressed_header(VP10Decoder *pbi, cm->use_highbitdepth = 0; #endif } +#endif pbi->refresh_frame_flags = vpx_rb_read_literal(rb, REF_FRAMES); setup_frame_size(cm, rb); |