summaryrefslogtreecommitdiff
path: root/libavformat/dvenc.c
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2022-08-23 10:20:15 +0200
committerAnton Khirnov <anton@khirnov.net>2022-09-05 08:00:57 +0200
commitdcc4704a4e818a2f25766a62d780c021126ea8a5 (patch)
treee53c57925e7d685564e28680a7062b065f4a449c /libavformat/dvenc.c
parentf89949afed7a538db603f32d463fe9547bc439a7 (diff)
downloadffmpeg-dcc4704a4e818a2f25766a62d780c021126ea8a5.tar.gz
lavf/dv: remove DVMuxContext declaration from dv.h
DVMuxContext is only used inside dvenc.c, there is no reason for it to be visible outside of that file.
Diffstat (limited to 'libavformat/dvenc.c')
-rw-r--r--libavformat/dvenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/dvenc.c b/libavformat/dvenc.c
index 7ef9692302..429ddcb96c 100644
--- a/libavformat/dvenc.c
+++ b/libavformat/dvenc.c
@@ -43,7 +43,7 @@
#define MAX_AUDIO_FRAME_SIZE 192000 // 1 second of 48khz 32-bit audio
-struct DVMuxContext {
+typedef struct DVMuxContext {
AVClass *av_class;
const AVDVProfile* sys; /* current DV profile, e.g.: 525/60, 625/50 */
int n_ast; /* number of stereo audio streams (up to 2) */
@@ -55,7 +55,7 @@ struct DVMuxContext {
int has_video; /* frame under construction has video */
uint8_t frame_buf[DV_MAX_FRAME_SIZE]; /* frame under construction */
AVTimecode tc; /* timecode context */
-};
+} DVMuxContext;
static const int dv_aaux_packs_dist[12][9] = {
{ 0xff, 0xff, 0xff, 0x50, 0x51, 0x52, 0x53, 0xff, 0xff },