NUT demuxing and muxing via libnut. More...
#include "avformat.h"
#include "riff.h"
#include <libnut.h>
Go to the source code of this file.
Data Structures | |
struct | NUTContext |
Defines | |
#define | ID_STRING "nut/multimedia container" |
#define | ID_LENGTH (strlen(ID_STRING) + 1) |
Functions | |
static int | nut_probe (AVProbeData *p) |
static size_t | av_read (void *h, size_t len, uint8_t *buf) |
static off_t | av_seek (void *h, long long pos, int whence) |
static int | nut_read_header (AVFormatContext *avf, AVFormatParameters *ap) |
static int | nut_read_packet (AVFormatContext *avf, AVPacket *pkt) |
static int | nut_read_seek (AVFormatContext *avf, int stream_index, int64_t target_ts, int flags) |
static int | nut_read_close (AVFormatContext *s) |
Variables | |
static const AVCodecTag | nut_tags [] |
AVInputFormat | libnut_demuxer |
NUT demuxing and muxing via libnut.
Definition in file libnut.c.
#define ID_LENGTH (strlen(ID_STRING) + 1) |
Definition at line 33 of file libnut.c.
Referenced by nut_probe().
#define ID_STRING "nut/multimedia container" |
Definition at line 32 of file libnut.c.
Referenced by nut_probe(), and write_header().
static size_t av_read | ( | void * | h, | |
size_t | len, | |||
uint8_t * | buf | |||
) | [static] |
static off_t av_seek | ( | void * | h, | |
long long | pos, | |||
int | whence | |||
) | [static] |
static int nut_probe | ( | AVProbeData * | p | ) | [static] |
static int nut_read_close | ( | AVFormatContext * | s | ) | [static] |
static int nut_read_header | ( | AVFormatContext * | avf, | |
AVFormatParameters * | ap | |||
) | [static] |
static int nut_read_packet | ( | AVFormatContext * | avf, | |
AVPacket * | pkt | |||
) | [static] |
static int nut_read_seek | ( | AVFormatContext * | avf, | |
int | stream_index, | |||
int64_t | target_ts, | |||
int | flags | |||
) | [static] |
{ "libnut", NULL_IF_CONFIG_SMALL("NUT format"), sizeof(NUTContext), nut_probe, nut_read_header, nut_read_packet, nut_read_close, nut_read_seek, .extensions = "nut", }