]> granicus.if.org Git - libvpx/commit
Reset segment_id to 0 when segmentation is disabled
authorAdrian Grange <agrange@google.com>
Fri, 16 Dec 2011 22:00:36 +0000 (14:00 -0800)
committerAdrian Grange <agrange@google.com>
Fri, 16 Dec 2011 22:00:36 +0000 (14:00 -0800)
commit0fafd0543f45321356fd4a0a2467b8e40bbffdd1
tree4d78139e64fcd56f4ce767170a865e4424d956d0
parentb3ade15a268ffdd4eea7fcbb2c0ecaca51e64294
Reset segment_id to 0 when segmentation is disabled

Whilst the encoder explicitly set the segment_id to 0
when segmentation is diabled, the decoder would allow
the segment_id to persist from the previous frame.

This fix attempts to make the decoder behave the same
as the encoder by explicitly setting the segment_id to
0 in this case.

Change-Id: I65c3a05247550edb10706eb5d54d306dfb792309
vp8/decoder/decodemv.c