summaryrefslogtreecommitdiffstats
path: root/libmpcodecs/vf_ilpack.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2012-10-26 18:05:30 +0000
committerwm4 <wm4@nowhere>2012-10-30 19:50:20 +0100
commita0d7595206e8f536aaf14beb65015e50ceb4f32c (patch)
tree77e3b68a455036ae7548d8a0562aab6bbd6814fe /libmpcodecs/vf_ilpack.c
parent1215f0871cd7aa4e5aaca85fe86acffa6da0463e (diff)
downloadmpv-a0d7595206e8f536aaf14beb65015e50ceb4f32c.tar.bz2
mpv-a0d7595206e8f536aaf14beb65015e50ceb4f32c.tar.xz
libmpcodecs: fix coverity issues
Fix check for empty log file (n contains a start offset of 15). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35269 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar Add missing (). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35270 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar Conflicts: libmpcodecs/vf_down3dright.c Add comment to silence coverity (and it generally doesn't hurt to make intentional fallthrough cases explicit). git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35271 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar Make uninit function handle vf->priv being NULL. This happens in the case where memory allocation for it fails. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35272 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar Remove useless variable. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@35273 b3059339-0415-0410-9bf9-f77b7e298cf2 Author: reimar Conflicts: libmpcodecs/vf_softpulldown.c
Diffstat (limited to 'libmpcodecs/vf_ilpack.c')
-rw-r--r--libmpcodecs/vf_ilpack.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libmpcodecs/vf_ilpack.c b/libmpcodecs/vf_ilpack.c
index db4a849e1f..e98d70d85d 100644
--- a/libmpcodecs/vf_ilpack.c
+++ b/libmpcodecs/vf_ilpack.c
@@ -437,6 +437,7 @@ static int vf_open(vf_instance_t *vf, char *args)
mp_msg(MSGT_VFILTER, MSGL_WARN,
"ilpack: unknown mode %d (fallback to linear)\n",
vf->priv->mode);
+ /* Fallthrough */
case 1:
vf->priv->pack[0] = pack_li_0;
vf->priv->pack[1] = pack_li_1;