Add support for YUV4MPEG file reading to tools files. (Minor fix).
git-svn-id: http://webrtc.googlecode.com/svn/trunk@5703 4adac7df-926f-26a2-2b94-8c16560cd09d
This commit is contained in:
parent
6e2d012b58
commit
4375e1acbb
@ -117,7 +117,7 @@ bool ExtractFrameFromYuvFile(const char* i420_file_name, int width, int height,
|
||||
bool ExtractFrameFromY4mFile(const char* y4m_file_name, int width, int height,
|
||||
int frame_number, uint8* result_frame) {
|
||||
int frame_size = GetI420FrameSize(width, height);
|
||||
int frame_offset = frame_number * frame_size
|
||||
int frame_offset = frame_number * frame_size;
|
||||
bool errors = false;
|
||||
|
||||
FILE* input_file = fopen(y4m_file_name, "rb");
|
||||
|
Loading…
Reference in New Issue
Block a user