summaryrefslogtreecommitdiff
path: root/libavformat/gxfenc.c
diff options
context:
space:
mode:
authorMarton Balint <cus@passwd.hu>2020-02-28 00:26:20 +0100
committerMarton Balint <cus@passwd.hu>2020-03-14 22:25:25 +0100
commitaef2016bb02fba377481789bf6a84e1176b83c25 (patch)
treee8946d1a1cfff1904a3b5dad2f7d732dfec45715 /libavformat/gxfenc.c
parentabbb466368c51285ca27d5e3959a16a9591e9a4c (diff)
avformat/audiointerleave: disallow using a samples_per_frame array
Only MXF used an actual sample array, and that is unneeded there because simple rounding rules can be used instead. Signed-off-by: Marton Balint <cus@passwd.hu>
Diffstat (limited to 'libavformat/gxfenc.c')
-rw-r--r--libavformat/gxfenc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/gxfenc.c b/libavformat/gxfenc.c
index 9eebefc683..e7536a6a7e 100644
--- a/libavformat/gxfenc.c
+++ b/libavformat/gxfenc.c
@@ -663,7 +663,7 @@ static int gxf_write_umf_packet(AVFormatContext *s)
return updatePacketSize(pb, pos);
}
-static const int GXF_samples_per_frame[] = { 32768, 0 };
+static const int GXF_samples_per_frame = 32768;
static void gxf_init_timecode_track(GXFStreamContext *sc, GXFStreamContext *vsc)
{