avfilter/xpsnr: avoid division by zero
[ffmpeg.git] / libavutil / hwcontext_stub.c
blob8683f07fc7b5f9cc2266679e631162f7787ec477
1 /*
2 * This file is part of FFmpeg.
4 * FFmpeg is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * FFmpeg is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with FFmpeg; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19 #include "config.h"
21 #if !CONFIG_VULKAN
22 #include <stddef.h>
23 #include "pixfmt.h"
25 typedef enum VkFormat VkFormat;
26 typedef struct AVVkFrame AVVkFrame;
27 const VkFormat *av_vkfmt_from_pixfmt(enum AVPixelFormat p);
28 AVVkFrame *av_vk_frame_alloc(void);
30 const VkFormat *av_vkfmt_from_pixfmt(enum AVPixelFormat p)
32 return NULL;
35 AVVkFrame *av_vk_frame_alloc(void)
37 return NULL;
39 #endif /* CONFIG_VULKAN */