OSDN Git Service

hevc: check that the VCL NAL types are the same for all slice segments of a frame
authorAnton Khirnov <anton@khirnov.net>
Sun, 2 Feb 2014 12:35:48 +0000 (13:35 +0100)
committerAnton Khirnov <anton@khirnov.net>
Tue, 4 Feb 2014 09:39:07 +0000 (10:39 +0100)
commitb25e84b7399bd91605596b67d761d3464dbe8a6e
treec5c391339d3b9dadab161b9df7e5b497dd7469dd
parent816e5b997028c8215c804b1e58b2388592ed612b
hevc: check that the VCL NAL types are the same for all slice segments of a frame

Fixes possible invalid memory access for mismatching skipped/non-skipped
slice segments.

Found-by: Mateusz "j00ru" Jurczyk and Gynvael Coldwind
Sample-Id: 00001533-google
libavcodec/hevc.c
libavcodec/hevc.h