lavd/pulse_audio_enc: fix error check
authorLukasz Marek <lukasz.m.luki@gmail.com>
Fri, 18 Oct 2013 21:41:19 +0000 (23:41 +0200)
committerStefano Sabatini <stefasab@gmail.com>
Fri, 18 Oct 2013 21:59:27 +0000 (23:59 +0200)
commitf5695926235c9b2a60af07b21c2d6f1db990cc2a
treed037ddd4a4d0291785daf48d7fc8b23acffc66b0
parentf6b56b1f26a1e40a47d85d24b42cd5475cd3b04f
lavd/pulse_audio_enc: fix error check

Error check should be done by checking negative value, not non-zero.

Signed-off-by: Lukasz Marek <lukasz.m.luki@gmail.com>
Signed-off-by: Stefano Sabatini <stefasab@gmail.com>
libavdevice/pulse_audio_enc.c