#include <inttypes.h>
#include <stdlib.h>
#include "libavutil/avstring.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "demux.h"
#include "internal.h"
Go to the source code of this file.
◆ RPL_SIGNATURE
#define RPL_SIGNATURE "ARMovie\x0A" |
Definition at line 31 of file rpl.c.
◆ RPL_SIGNATURE_SIZE
#define RPL_SIGNATURE_SIZE 8 |
Definition at line 32 of file rpl.c.
◆ RPL_LINE_LENGTH
#define RPL_LINE_LENGTH 256 |
256 is arbitrary, but should be big enough for any reasonable file.
Definition at line 35 of file rpl.c.
◆ rpl_probe()
Definition at line 37 of file rpl.c.
◆ read_line()
static int read_line |
( |
AVIOContext * |
pb, |
|
|
char * |
line, |
|
|
int |
bufsize |
|
) |
| |
|
static |
◆ read_int()
static int32_t read_int |
( |
const char * |
line, |
|
|
const char ** |
endptr, |
|
|
int * |
error |
|
) |
| |
|
static |
◆ read_line_and_int()
◆ read_fps()
static AVRational read_fps |
( |
const char * |
line, |
|
|
int * |
error |
|
) |
| |
|
static |
Parsing for fps, which can be a fraction.
Unfortunately, the spec for the header leaves out a lot of details, so this is mostly guessing.
Definition at line 96 of file rpl.c.
Referenced by rpl_read_header().
◆ rpl_read_header()
◆ rpl_read_packet()
◆ ff_rpl_demuxer
Initial value:
Definition at line 403 of file rpl.c.