diff libmpdemux/stheader.h @ 31540:7f1c8212e3cf

Add some const, the ad_functions structs are in rodata.
author reimar
date Thu, 01 Jul 2010 20:41:42 +0000
parents 0d18ce469b67
children cd81fce1f010
line wrap: on
line diff
--- a/libmpdemux/stheader.h	Thu Jul 01 20:04:38 2010 +0000
+++ b/libmpdemux/stheader.h	Thu Jul 01 20:41:42 2010 +0000
@@ -73,7 +73,7 @@
   int a_out_buffer_size;
 //  void* audio_out;        // the audio_out handle, used for this audio stream
   struct af_stream *afilter;          // the audio filter stream
-  struct ad_functions *ad_driver;
+  const struct ad_functions *ad_driver;
 #ifdef CONFIG_DYNAMIC_PLUGINS
   void *dec_handle;
 #endif