diff options
author | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-24 08:43:56 +0300 |
---|---|---|
committer | Uoti Urpala <uau@symbol.nonexistent.invalid> | 2008-04-25 07:16:32 +0300 |
commit | 31db39d8ec9cd2b8df0123e2f2142a187733ecad (patch) | |
tree | d550915eb5339500161fb58ff30c991d97cc3171 /libmpdemux/stheader.h | |
parent | 7dc42263486bd45d2ba830f065a8556c02aaf7c8 (diff) | |
download | mpv-31db39d8ec9cd2b8df0123e2f2142a187733ecad.tar.bz2 mpv-31db39d8ec9cd2b8df0123e2f2142a187733ecad.tar.xz |
Make video decoder description structs const
This makes the per-decoder struct vd_functions and its ->info
struct constants. Same for the mpcodecs_vd_drivers[] table of
pointers to those structs.
Diffstat (limited to 'libmpdemux/stheader.h')
-rw-r--r-- | libmpdemux/stheader.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libmpdemux/stheader.h b/libmpdemux/stheader.h index 469314b541..6ca9866ec3 100644 --- a/libmpdemux/stheader.h +++ b/libmpdemux/stheader.h @@ -85,7 +85,7 @@ typedef struct sh_video { unsigned int outfmtidx; struct vf_instance *vfilter; // the video filter chain, used for this video stream int output_flags; // query_format() results for output filters+vo - struct vd_functions *vd_driver; + const struct vd_functions *vd_driver; int vf_initialized; #ifdef DYNAMIC_PLUGINS void *dec_handle; |