aboutsummaryrefslogtreecommitdiffstats
path: root/ffmpeg.h
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2015-07-28 01:28:34 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2015-07-28 02:22:23 +0200
commitcdb0225fa9e65b61a3a4b5f7975dd467d7e622ab (patch)
treef72024e6206e43bb9764d7f91ef722687013103f /ffmpeg.h
parent1ca042a14b9347d191eb4abf8dc74ac48db272fd (diff)
downloadffmpeg-cdb0225fa9e65b61a3a4b5f7975dd467d7e622ab.tar.gz
ffmpeg: Use side data instead of coded_frame for error[] values
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'ffmpeg.h')
-rw-r--r--ffmpeg.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/ffmpeg.h b/ffmpeg.h
index e43c985f52..6e2267acdc 100644
--- a/ffmpeg.h
+++ b/ffmpeg.h
@@ -459,6 +459,9 @@ typedef struct OutputStream {
/* packet quality factor */
int quality;
+
+ /* frame encode sum of squared error values */
+ int64_t error[4];
} OutputStream;
typedef struct OutputFile {