Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #[macro_export]
- macro_rules! MKBETAG {
- ($a:expr, $b:expr, $c:expr, $d:expr) => (
- ($d as isize) |
- (($c as isize) << 8) |
- (($b as isize) << 16) |
- (($a as isize) << 24)
- )
- }
- #[macro_export]
- macro_rules! MKTAG {
- ($a:expr, $b:expr, $c:expr, $d:expr) => (
- ($a as isize) |
- (($b as isize) << 8) |
- (($c as isize) << 16) |
- (($d as isize) << 24)
- )
- }
- // List form: https://www.ffmpeg.org/doxygen/2.7/group__lavc__core.html
- fn main() {
- println!("AV_CODEC_ID_HEVC = {}",MKBETAG!('H','2','6','5'));
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement