nsvdec: don't ignore the return value of av_get_packet()
authorSean McGovern <gseanmcg@gmail.com>
Fri, 24 Mar 2017 17:36:51 +0000 (13:36 -0400)
committerSean McGovern <gseanmcg@gmail.com>
Sun, 26 Mar 2017 16:43:57 +0000 (12:43 -0400)
commitfe6eea99efac66839052af547426518efd970b24
tree217d3f069208fa60c6878ebc8f9cff7013e716eb
parentd4f3c26b700ae847433ba3c67dc99c32bc1fd4a1
nsvdec: don't ignore the return value of av_get_packet()

Fixes invalid reads with corrupted files.

CC: libav-stable@libav.org
Bug-Id: 1039
libavformat/nsvdec.c