Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2012-10-22 01:02:28 +0400
committerJustin Ruggles <justin.ruggles@gmail.com>2012-11-01 19:29:16 +0400
commit90fcac0e95b7d266c148a86506f301a2072d9de3 (patch)
tree3a98aa2c6d0bf7e22f78894dc5f308a7db0732d3 /libavcodec/flac.h
parent268f8ba112570956f1d7be8f4f2f0bea86c61461 (diff)
flacdec: allow mid-stream channel layout change
Although the libFLAC decoder cannot handle such a change, it is allowed by the spec and could potentially occur with live streams.
Diffstat (limited to 'libavcodec/flac.h')
-rw-r--r--libavcodec/flac.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/libavcodec/flac.h b/libavcodec/flac.h
index 55bacea9ea..63f41c25a4 100644
--- a/libavcodec/flac.h
+++ b/libavcodec/flac.h
@@ -137,4 +137,7 @@ int ff_flac_get_max_frame_size(int blocksize, int ch, int bps);
*/
int ff_flac_decode_frame_header(AVCodecContext *avctx, GetBitContext *gb,
FLACFrameInfo *fi, int log_level_offset);
+
+void ff_flac_set_channel_layout(AVCodecContext *avctx);
+
#endif /* AVCODEC_FLAC_H */