Solve conflict between pi and imx codepaths

This commit is contained in:
Iwan Timmer
2017-06-12 17:34:15 +02:00
parent 36bbba8bb6
commit 7653569bb5
2 changed files with 2 additions and 2 deletions

View File

@@ -115,7 +115,7 @@ static int frame_handle(int pipefd) {
return LOOP_OK;
}
int decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
static int decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
if (videoFormat != VIDEO_FORMAT_H264) {
fprintf(stderr, "Video format not supported\n");
return -1;

View File

@@ -53,7 +53,7 @@ static unsigned char *dest;
static int port_settings_changed;
static int first_packet;
int decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
static int decoder_renderer_setup(int videoFormat, int width, int height, int redrawRate, void* context, int drFlags) {
if (videoFormat != VIDEO_FORMAT_H264) {
fprintf(stderr, "Video format not supported\n");
return -1;