summaryrefslogtreecommitdiff
path: root/libavformat/dv.c
diff options
context:
space:
mode:
authorAlex Converse <alex.converse@gmail.com>2012-02-09 17:53:05 -0800
committerAlex Converse <alex.converse@gmail.com>2012-02-09 19:16:15 -0800
commit8dbdc2d8407e8e3f4ca0e75b8684b8fc81fd4bcd (patch)
tree8b9fa345e96d1097756c62baf23486db326b9dd1 /libavformat/dv.c
parent89c9a8d3fdaef610f276e28f02cc46c581d05ef0 (diff)
dv: Move a table used only by the demuxer out of a shared header.
Diffstat (limited to 'libavformat/dv.c')
-rw-r--r--libavformat/dv.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libavformat/dv.c b/libavformat/dv.c
index 0201a80b31..769f6b74f4 100644
--- a/libavformat/dv.c
+++ b/libavformat/dv.c
@@ -94,6 +94,10 @@ static const uint8_t* dv_extract_pack(uint8_t* frame, enum dv_pack_type t)
return frame[offs] == t ? &frame[offs] : NULL;
}
+static const int dv_audio_frequency[3] = {
+ 48000, 44100, 32000,
+};
+
/*
* There's a couple of assumptions being made here:
* 1. By default we silence erroneous (0x8000/16bit 0x800/12bit) audio samples.