mirror of
https://github.com/moonlight-stream/moonlight-ios.git
synced 2025-07-23 12:44:19 +00:00
24 lines
438 B
Objective-C
24 lines
438 B
Objective-C
//
|
|
// VideoDecoder.m
|
|
// Limelight-iOS
|
|
//
|
|
// Created by Diego Waxemberg on 1/18/14.
|
|
// Copyright (c) 2014 Diego Waxemberg. All rights reserved.
|
|
//
|
|
|
|
#import "VideoDecoder.h"
|
|
|
|
@implementation VideoDecoder
|
|
- (void)decode:(uint8_t *)buffer length:(unsigned int)length
|
|
{
|
|
for (int i = 0; i < length; i++) {
|
|
printf("%02x ", buffer[i]);
|
|
if (i != 0 && i % 16 == 0) {
|
|
NSLog(@"");
|
|
}
|
|
}
|
|
|
|
|
|
}
|
|
@end
|