@@ -26,7 +26,7 @@ mod tests {
26
26
let mut raw = unsafe { mem:: uninitialized ( ) } ;
27
27
let mut ctx = unsafe { mem:: uninitialized ( ) } ;
28
28
29
- let ret = unsafe { aom_img_alloc ( & mut raw, aom_img_fmt :: AOM_IMG_FMT_I420 , w, h, align) } ;
29
+ let ret = unsafe { aom_img_alloc ( & mut raw, aom_img_fmt_AOM_IMG_FMT_I420 , w, h, align) } ;
30
30
if ret. is_null ( ) {
31
31
panic ! ( "Image allocation failed" ) ;
32
32
}
@@ -36,7 +36,7 @@ mod tests {
36
36
let mut cfg = unsafe { mem:: uninitialized ( ) } ;
37
37
let mut ret = unsafe { aom_codec_enc_config_default ( aom_codec_av1_cx ( ) , & mut cfg, 0 ) } ;
38
38
39
- if ret != aom_codec_err_t :: AOM_CODEC_OK {
39
+ if ret != aom_codec_err_t_AOM_CODEC_OK {
40
40
panic ! ( "Default Configuration failed" ) ;
41
41
}
42
42
@@ -56,7 +56,7 @@ mod tests {
56
56
)
57
57
} ;
58
58
59
- if ret != aom_codec_err_t :: AOM_CODEC_OK {
59
+ if ret != aom_codec_err_t_AOM_CODEC_OK {
60
60
panic ! ( "Codec Init failed" ) ;
61
61
}
62
62
@@ -74,7 +74,7 @@ mod tests {
74
74
1 ,
75
75
flags as i64 ,
76
76
) ;
77
- if ret != aom_codec_err_t :: AOM_CODEC_OK {
77
+ if ret != aom_codec_err_t_AOM_CODEC_OK {
78
78
panic ! ( "Encode failed {:?}" , ret) ;
79
79
}
80
80
0 commit comments