diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-17 18:59:47 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-02-17 18:59:47 +0000 |
commit | bdfef5ff392daf50ea5943608554b9c47e402b2a (patch) | |
tree | 66bbdcbd68ab487d4666582229c3e41ad4651c83 /libmpcodecs/ad_dshow.c | |
parent | 8e5edec13eabc42923bc119f435566145955c124 (diff) | |
download | mpv-bdfef5ff392daf50ea5943608554b9c47e402b2a.tar.bz2 mpv-bdfef5ff392daf50ea5943608554b9c47e402b2a.tar.xz |
Print an error and return NULL in vf_get_image if we try to allocate
a format with bpp == 0, since this can not work.
This way at least we crash earlier and print an error message.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@28637 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpcodecs/ad_dshow.c')
0 files changed, 0 insertions, 0 deletions