From 1b0b094ca2c25ad162f8f8c84ebebef9a963552e Mon Sep 17 00:00:00 2001 From: wm4 Date: Mon, 4 May 2015 23:57:25 +0200 Subject: audio: introduce mp_audio readonly bit Convenience for the following commit. --- audio/audio.h | 1 + 1 file changed, 1 insertion(+) (limited to 'audio/audio.h') diff --git a/audio/audio.h b/audio/audio.h index cbcd87cc46..a633a15b4d 100644 --- a/audio/audio.h +++ b/audio/audio.h @@ -38,6 +38,7 @@ struct mp_audio { int bps; // size of sub-samples (af_fmt2bps(format)) // private + bool readonly; struct AVBufferRef *allocated[MP_NUM_CHANNELS]; }; -- cgit v1.2.3