mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2024-12-13 10:44:59 +00:00
Merge commit '0fbb271318899a0fb1fbcbb3db8292e909b91e23'
* commit '0fbb271318899a0fb1fbcbb3db8292e909b91e23': qsv_api: fix building with libmfx disabled Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
commit
99bcfe6227
@ -18,11 +18,25 @@
|
||||
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
|
||||
#include <stddef.h>
|
||||
|
||||
#include "libavutil/mem.h"
|
||||
|
||||
#if CONFIG_QSV
|
||||
#include "qsv.h"
|
||||
|
||||
AVQSVContext *av_qsv_alloc_context(void)
|
||||
{
|
||||
return av_mallocz(sizeof(AVQSVContext));
|
||||
}
|
||||
#else
|
||||
|
||||
struct AVQSVContext *av_qsv_alloc_context(void);
|
||||
|
||||
struct AVQSVContext *av_qsv_alloc_context(void)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user