spa: ffmpeg: move some function declarations to a header

Move the declarations for `spa_ffmpeg_{dec,enc}_init` to the
"ffmpeg.h" header file. This way the implementation is checked
against the signature.
This commit is contained in:
Barnabás Pőcze 2022-06-16 17:06:25 +02:00
parent 1a21da9898
commit 6cb8fb899d
4 changed files with 21 additions and 4 deletions

View file

@ -38,6 +38,8 @@
#include <spa/param/video/format.h>
#include <spa/pod/filter.h>
#include "ffmpeg.h"
#define IS_VALID_PORT(this,d,id) ((id) == 0)
#define GET_IN_PORT(this,p) (&this->in_ports[p])
#define GET_OUT_PORT(this,p) (&this->out_ports[p])