diff options
author | mplayer-svn <svn@mplayerhq.hu> | 2012-02-19 13:49:04 +0000 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2012-08-03 01:47:47 +0200 |
commit | 3dc0cfc1fe388468426f12cf8e0ccc1f0220657f (patch) | |
tree | 2a2c87ec7ce7140e3386e92c633b6d1d2b9792c8 /pnm_loader.h | |
parent | 3fa539c4e2c03d0db082424be1743def87c75543 (diff) | |
download | mpv-3dc0cfc1fe388468426f12cf8e0ccc1f0220657f.tar.bz2 mpv-3dc0cfc1fe388468426f12cf8e0ccc1f0220657f.tar.xz |
dec_audio: add sanity check against 0 channels
Add a safeguard to avoid crash if the decoder e.g. claims 0 channels.
That would be a decoder bug, but an extra check can still help.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@34738 b3059339-0415-0410-9bf9-f77b7e298cf2
Author: reimar
Diffstat (limited to 'pnm_loader.h')
0 files changed, 0 insertions, 0 deletions