Commit a0350330 authored by Michael Niedermayer's avatar Michael Niedermayer

Move flv format #defines to common header so they can be used by the encoder too.

Signed-off-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parent 6408529b
......@@ -42,6 +42,11 @@
#define AMF_END_OF_OBJECT 0x09
#define KEYFRAMES_TAG "keyframes"
#define KEYFRAMES_TIMESTAMP_TAG "times"
#define KEYFRAMES_BYTEOFFSET_TAG "filepositions"
enum {
FLV_HEADER_FLAG_HASVIDEO = 1,
FLV_HEADER_FLAG_HASAUDIO = 4,
......
......@@ -31,10 +31,6 @@
#include "avio_internal.h"
#include "flv.h"
#define KEYFRAMES_TAG "keyframes"
#define KEYFRAMES_TIMESTAMP_TAG "times"
#define KEYFRAMES_BYTEOFFSET_TAG "filepositions"
typedef struct {
int wrong_dts; ///< wrong dts due to negative cts
} FLVContext;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment