nsvdec: Propagate error values instead of returning 0 in nsv_read_header().
authorDiego Biurrun <diego@biurrun.de>
Thu, 23 Jun 2011 11:27:21 +0000 (13:27 +0200)
committerReinhard Tartler <siretart@tauware.de>
Sun, 1 Apr 2012 16:33:29 +0000 (18:33 +0200)
commit6fe5038753ec8da6770b1872588f5d83f6f13963
tree82533863b2fa10cbe580f53702593f06c06e4f7e
parent6ae95a0b93e8df15fe5f364535a7214be0817736
nsvdec: Propagate error values instead of returning 0 in nsv_read_header().

This eliminates a warning about a set-but-unused variable.
(cherry picked from commit 35fa0d47585cef28cd8191dccf0607d90c7667a6)

Signed-off-by: Reinhard Tartler <siretart@tauware.de>
libavformat/nsvdec.c