Commit c940ed42 authored by Diego Elio Pettenò's avatar Diego Elio Pettenò Committed by Michael Niedermayer

Make ff_mxf_pixel_layouts static to mxf.c.

Also make it an anonymous structure as never it is accessed by name.
Signed-off-by: 's avatarJanne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit a3dffc06)
parent 12324121
...@@ -52,7 +52,10 @@ const MXFCodecUL ff_mxf_codec_uls[] = { ...@@ -52,7 +52,10 @@ const MXFCodecUL ff_mxf_codec_uls[] = {
{ { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, CODEC_ID_NONE }, { { 0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x00 }, 0, CODEC_ID_NONE },
}; };
const MXFPixelLayout ff_mxf_pixel_layouts[] = { static const struct {
enum PixelFormat pix_fmt;
const char data[16];
} ff_mxf_pixel_layouts[] = {
/** /**
* See SMPTE 377M E.2.46 * See SMPTE 377M E.2.46
* *
......
...@@ -61,13 +61,6 @@ typedef struct { ...@@ -61,13 +61,6 @@ typedef struct {
extern const MXFCodecUL ff_mxf_data_definition_uls[]; extern const MXFCodecUL ff_mxf_data_definition_uls[];
extern const MXFCodecUL ff_mxf_codec_uls[]; extern const MXFCodecUL ff_mxf_codec_uls[];
typedef struct {
enum PixelFormat pix_fmt;
const char data[16];
} MXFPixelLayout;
extern const MXFPixelLayout ff_mxf_pixel_layouts[];
int ff_mxf_decode_pixel_layout(const char pixel_layout[16], enum PixelFormat *pix_fmt); int ff_mxf_decode_pixel_layout(const char pixel_layout[16], enum PixelFormat *pix_fmt);
#define PRINT_KEY(pc, s, x) dprintf(pc, "%s %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\n", s, \ #define PRINT_KEY(pc, s, x) dprintf(pc, "%s %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X %02X\n", s, \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment