summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vd.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 18:59:47 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2009-02-17 18:59:47 +0000
commitbdfef5ff392daf50ea5943608554b9c47e402b2a (patch)
tree66bbdcbd68ab487d4666582229c3e41ad4651c83 /libmpcodecs/vd.c
parent8e5edec13eabc42923bc119f435566145955c124 (diff)
downloadmpv-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/vd.c')
0 files changed, 0 insertions, 0 deletions