summaryrefslogtreecommitdiffstats
path: root/src/mpeg.h
diff options
context:
space:
mode:
authorMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-30 16:28:27 +0100
committerMatthias P. Braendli <matthias.braendli@mpb.li>2016-10-30 16:28:27 +0100
commit804fe1979f9ed7bef7badaf0aa08e35e09874772 (patch)
tree93ae4728de598391ce6e72712676260831b0ecb2 /src/mpeg.h
parent128768f7fd719eb455a946a0f716d7128b4ded63 (diff)
downloaddabmux-804fe1979f9ed7bef7badaf0aa08e35e09874772.tar.gz
dabmux-804fe1979f9ed7bef7badaf0aa08e35e09874772.tar.bz2
dabmux-804fe1979f9ed7bef7badaf0aa08e35e09874772.zip
Add rudimentary file input
No nonblock support yet
Diffstat (limited to 'src/mpeg.h')
-rw-r--r--src/mpeg.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mpeg.h b/src/mpeg.h
index aa7cfb6..15b9b80 100644
--- a/src/mpeg.h
+++ b/src/mpeg.h
@@ -75,6 +75,13 @@ ssize_t readData(int file, void* data, size_t size, unsigned int tries);
int readMpegHeader(int file, void* data, int size);
int readMpegFrame(int file, void* data, int size);
+#define MPEG_FREQUENCY -2
+#define MPEG_PADDING -3
+#define MPEG_COPYRIGHT -4
+#define MPEG_ORIGINAL -5
+#define MPEG_EMPHASIS -6
+int checkDabMpegFrame(void* data);
+
#ifdef __cplusplus
}
#endif