summaryrefslogtreecommitdiffstats
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-04-25 11:59:28 +0200
committerReimar Döffinger <Reimar.Doeffinger@gmx.de>2011-04-25 16:51:27 +0200
commit4c7ad768e1356edd7addc6af2c3f0d3ca90ac408 (patch)
tree2ebf23399f1162121c682d10d910c74c10514bff /libavcodec/avcodec.h
parent5e9de76f54e54d1c4e1f060f4e93e73cd7706828 (diff)
downloadffmpeg-streaming-4c7ad768e1356edd7addc6af2c3f0d3ca90ac408.zip
ffmpeg-streaming-4c7ad768e1356edd7addc6af2c3f0d3ca90ac408.tar.gz
ac3dec: allow selecting float output at runtime.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index 10866a1..58a38fa 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2877,6 +2877,14 @@ typedef struct AVCodecContext {
int64_t pts_correction_last_pts; /// PTS of the last frame
int64_t pts_correction_last_dts; /// DTS of the last frame
+ /**
+ * desired sample format
+ * - encoding: Not used.
+ * - decoding: Set by user.
+ * Decoder will decode to this format if it can.
+ */
+ enum AVSampleFormat request_sample_fmt;
+
} AVCodecContext;
/**
OpenPOWER on IntegriCloud