Fix BugZilla Bug 1479668 heap-buffer-overflow when picture size changes in stream.
Fix BugZilla Bug 1479668 heap-buffer-overflow when picture size changes in stream.

ruil2/openh264,shihuade/openh264,GuangweiWang/openh264,GuangweiWang/openh264,cisco/openh264,shihuade/openh264,cisco/openh264,cisco/openh264,GuangweiWang/openh264,ruil2/openh264,mstorsjo/openh264,mstorsjo/openh264,mstorsjo/openh264,ruil2/openh264,mstorsjo/openh264,shihuade/openh264,cisco/openh264,ruil2/openh264,GuangweiWang/openh264,ruil2/openh264,shihuade/openh264,shihuade/openh264,shihuade/openh264,mstorsjo/openh264,mstorsjo/openh264,cisco/openh264,GuangweiWang/openh264,cisco/openh264,ruil2/openh264,GuangweiWang/openh264,GuangweiWang/openh264,cisco/openh264,ruil2/openh264,shihuade/openh264,mstorsjo/openh264