summaryrefslogtreecommitdiff
path: root/fftools/ffplay.c
diff options
context:
space:
mode:
Diffstat (limited to 'fftools/ffplay.c')
-rw-r--r--fftools/ffplay.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/fftools/ffplay.c b/fftools/ffplay.c
index e14c800b8f..0be1d90bf9 100644
--- a/fftools/ffplay.c
+++ b/fftools/ffplay.c
@@ -203,7 +203,7 @@ typedef struct Decoder {
typedef struct VideoState {
SDL_Thread *read_tid;
- AVInputFormat *iformat;
+ const AVInputFormat *iformat;
int abort_request;
int force_refresh;
int paused;
@@ -308,7 +308,7 @@ typedef struct VideoState {
} VideoState;
/* options specified by the user */
-static AVInputFormat *file_iformat;
+static const AVInputFormat *file_iformat;
static const char *input_filename;
static const char *window_title;
static int default_width = 640;
@@ -3075,7 +3075,8 @@ static int read_thread(void *arg)
return 0;
}
-static VideoState *stream_open(const char *filename, AVInputFormat *iformat)
+static VideoState *stream_open(const char *filename,
+ const AVInputFormat *iformat)
{
VideoState *is;