rtpdec_vp9: Drop extra sanity check for size of input packet
authorVittorio Giovara <vittorio.giovara@gmail.com>
Mon, 9 Mar 2015 17:27:22 +0000 (17:27 +0000)
committerVittorio Giovara <vittorio.giovara@gmail.com>
Wed, 11 Mar 2015 18:01:25 +0000 (18:01 +0000)
commitbacc92b59bfa5d6a1f631e63e46fc1d2fb934e51
tree37eb2627a9694637660013046cbc08645b185431
parentfe99c52fa99e44961a09cd1324aefd492b797fc8
rtpdec_vp9: Drop extra sanity check for size of input packet

In this case len is always at least 1, since it is checked against
RTP_VP9_DESC_REQUIRED_SIZE + 1 and then it is reduced by
RTP_VP9_DESC_REQUIRED_SIZE before entering the has_pic_id check.

Bug-Id: CID 1270811
libavformat/rtpdec_vp9.c