Add a dummy option -i to ffplay so that it is easy to switch between ffmpeg -i "file" and ffplay -i "file".

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Benjamin Larsson
2011-03-08 15:29:46 +01:00
committed by Michael Niedermayer
parent 1a204f0760
commit 76d4c1676f
3 changed files with 4 additions and 0 deletions

View File

@ -122,6 +122,7 @@ typedef struct {
#define OPT_FUNC2 0x0400
#define OPT_INT64 0x0800
#define OPT_EXIT 0x1000
#define OPT_DUMMY 0x2000
union {
void (*func_arg)(const char *); //FIXME passing error code as int return would be nicer then exit() in the func
int *int_arg;