FFmpeg
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
mpeg4video_parser.h File Reference
#include "parser.h"

Go to the source code of this file.

Functions

int ff_mpeg4_find_frame_end (ParseContext *pc, const uint8_t *buf, int buf_size)
 Find the end of the current frame in the bitstream.
 

Function Documentation

int ff_mpeg4_find_frame_end ( ParseContext pc,
const uint8_t buf,
int  buf_size 
)

Find the end of the current frame in the bitstream.

Returns
the position of the first byte of the next frame, or -1

Definition at line 36 of file mpeg4video_parser.c.

Referenced by ff_h263_decode_frame(), and mpeg4video_parse().