[FFmpeg-cvslog] avcodec/cbs_vp9: fix parsing sRGB samples

James Almer git at videolan.org
Sat Oct 27 22:11:00 EEST 2018


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Oct 26 16:32:56 2018 -0300| [a5d98da4d6f3d0cd89d61af43e6377a9c9dd4cb2] | committer: James Almer

avcodec/cbs_vp9: fix parsing sRGB samples

Signed-off-by: Hendrik Leppkes <h.leppkes at gmail.com>
Signed-off-by: James Almer <jamrial at gmail.com>

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

 libavcodec/cbs_vp9_syntax_template.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/libavcodec/cbs_vp9_syntax_template.c b/libavcodec/cbs_vp9_syntax_template.c
index 0db0f52a6d..b4a7f65e85 100644
--- a/libavcodec/cbs_vp9_syntax_template.c
+++ b/libavcodec/cbs_vp9_syntax_template.c
@@ -65,6 +65,7 @@ static int FUNC(color_config)(CodedBitstreamContext *ctx, RWContext *rw,
         if (profile == 1 || profile == 3) {
             infer(subsampling_x, 0);
             infer(subsampling_y, 0);
+            f(1, color_config_reserved_zero);
         }
     }
 



More information about the ffmpeg-cvslog mailing list