summaryrefslogtreecommitdiff
path: root/cmdutils.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2012-03-23 15:46:30 +0100
committerAnton Khirnov <anton@khirnov.net>2012-04-15 20:22:36 +0200
commitb7327887ea260d26e4fe98d34149cd57168f2ba3 (patch)
tree9b5dce4ee98a03933e0fd6825ef0e694af0b13bd /cmdutils.h
parent7af99a01c4e77efa002a672d72f142257e87bf38 (diff)
avconv: get output pixel format from lavfi.
This way we don't require a clearly defined corresponding input stream. The result for the xwd test changes because rgb24 is now chosen instead of bgra.
Diffstat (limited to 'cmdutils.h')
-rw-r--r--cmdutils.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmdutils.h b/cmdutils.h
index 5c5e57cbbe..792254cf6c 100644
--- a/cmdutils.h
+++ b/cmdutils.h
@@ -368,7 +368,7 @@ FILE *get_preset_file(char *filename, size_t filename_size,
const char *preset_name, int is_path, const char *codec_name);
typedef struct {
- enum PixelFormat pix_fmt;
+ const enum PixelFormat *pix_fmts;
} SinkContext;
extern AVFilter sink;