This website works better with JavaScript.
Home
Help
Sign In
falkTX
/
FFmpeg
mirror of
https://github.com/falkTX/FFmpeg.git
Watch
1
Star
0
Fork
0
Code
Issues
0
Releases
338
Wiki
Activity
Browse Source
Move flv format #defines to common header so they can be used by the encoder too.
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n0.8
Michael Niedermayer
15 years ago
parent
6408529b5d
commit
a0350330cd
2 changed files
with
5 additions
and
4 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-0
libavformat/flv.h
+0
-4
libavformat/flvdec.c
+ 5
- 0
libavformat/flv.h
View File
@@ -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,
+ 0
- 4
libavformat/flvdec.c
View File
@@ -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;
Write
Preview
Loading…
Cancel
Save