diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-03-08 21:08:06 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2009-03-08 21:08:06 +0000 |
commit | 8b9c94e0bd315635a77a82d8a5ee5f394c280873 (patch) | |
tree | d18814c9b52c4971bd591d2499163e6948d742d5 | |
parent | ade29f9983671364f305b27810ed50ff4a1ffb8e (diff) | |
download | ffmpeg-8b9c94e0bd315635a77a82d8a5ee5f394c280873.tar.gz |
remove useless fields
Originally committed as revision 17883 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/gxfenc.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c index ca7b0c7572..0b52723156 100644 --- a/libavformat/gxfenc.c +++ b/libavformat/gxfenc.c @@ -45,13 +45,10 @@ typedef struct GXFStreamContext { int p_per_gop; int b_per_i_or_p; ///< number of B frames per I frame or P frame int first_gop_closed; - int64_t current_dts; - int dts_delay; } GXFStreamContext; typedef struct GXFContext { uint32_t nb_fields; - uint32_t material_flags; uint16_t audio_tracks; uint16_t mpeg_tracks; int64_t creation_time; @@ -63,7 +60,6 @@ typedef struct GXFContext { uint32_t umf_length; uint16_t umf_track_size; uint16_t umf_media_size; - int audio_written; int sample_rate; int flags; AVFormatContext *fc; @@ -589,8 +585,6 @@ static int gxf_write_umf_packet(ByteIOContext *pb, GXFContext *ctx) return updatePacketSize(pb, pos); } -#define GXF_NODELAY -5000 - static const int GXF_samples_per_frame[] = { 32768, 0 }; static int gxf_write_header(AVFormatContext *s) @@ -647,7 +641,6 @@ static int gxf_write_header(AVFormatContext *s) } gxf->sample_rate = sc->sample_rate; av_set_pts_info(st, 64, 1, st->codec->time_base.den); - sc->dts_delay = GXF_NODELAY; if (gxf_find_lines_index(sc) < 0) sc->lines_index = -1; sc->sample_size = st->codec->bit_rate; |