diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2012-10-21 17:02:28 -0400 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2012-11-01 11:29:16 -0400 |
commit | 90fcac0e95b7d266c148a86506f301a2072d9de3 (patch) | |
tree | 3a98aa2c6d0bf7e22f78894dc5f308a7db0732d3 /libavcodec/flac.h | |
parent | 268f8ba112570956f1d7be8f4f2f0bea86c61461 (diff) | |
download | ffmpeg-90fcac0e95b7d266c148a86506f301a2072d9de3.tar.gz |
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.h | 3 |
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 */ |