#include <inttypes.h>
#include <stdlib.h>
#include "libavutil/avstring.h"
#include "libavutil/dict.h"
#include "avformat.h"
#include "internal.h"
Go to the source code of this file.
#define RPL_SIGNATURE "ARMovie\x0A" |
#define RPL_SIGNATURE_SIZE 8 |
#define RPL_LINE_LENGTH 256 |
Definition at line 36 of file rpl.c.
static int read_line |
( |
AVIOContext * |
pb, |
|
|
char * |
line, |
|
|
int |
bufsize |
|
) |
| |
|
static |
static int32_t read_int |
( |
const char * |
line, |
|
|
const char ** |
endptr, |
|
|
int * |
error |
|
) |
| |
|
static |
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 95 of file rpl.c.
Referenced by rpl_read_header().
Initial value:= {
.name = "rpl",
}
static int rpl_read_header(AVFormatContext *s)
#define NULL_IF_CONFIG_SMALL(x)
Return NULL if CONFIG_SMALL is true, otherwise the argument without modification. ...
static int rpl_probe(AVProbeData *p)
static int read_header(FFV1Context *f)
static int read_packet(void *opaque, uint8_t *buf, int buf_size)
static int rpl_read_packet(AVFormatContext *s, AVPacket *pkt)
Definition at line 357 of file rpl.c.