]> git.sesse.net Git - ffmpeg/blobdiff - ffmpeg.h
tools/coverity: Add model for av_realloc
[ffmpeg] / ffmpeg.h
index 49924a36a9880d483c260109130482afa83049ee..ebe5bf04061a4d3163dcc57479bb8ffb7a8d61e0 100644 (file)
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -254,6 +254,18 @@ typedef struct OutputFilter {
     /* temporary storage until stream maps are processed */
     AVFilterInOut       *out_tmp;
     enum AVMediaType     type;
+
+    /* desired output stream properties */
+    int width, height;
+    AVRational frame_rate;
+    int format;
+    int sample_rate;
+    uint64_t channel_layout;
+
+    // those are only set if no format is specified and the encoder gives us multiple options
+    int *formats;
+    uint64_t *channel_layouts;
+    int *sample_rates;
 } OutputFilter;
 
 typedef struct FilterGraph {