codec/codec: fix PhantomData type

This commit is contained in:
meh 2015-05-12 18:16:47 +02:00
parent 1150527c35
commit 944c817774

View File

@ -11,7 +11,7 @@ use ::codec::context::Opened;
pub struct Codec<'a> {
pub ptr: *mut AVCodec,
_marker: PhantomData<&'a i32>,
_marker: PhantomData<&'a ()>,
}
impl<'a> Codec<'a> {