diff options
author | Diego Elio Pettenò <flameeyes@gmail.com> | 2011-01-25 02:29:37 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2011-01-26 03:43:32 +0100 |
commit | c940ed42540649f8a0c89888d0e9352f38f0a8b3 (patch) | |
tree | a9060aba7691289db7ecd38bb09abab975192821 /libavformat/mxf.c | |
parent | 123241214cebfc4e55789f611fc09dc253dca39a (diff) | |
download | ffmpeg-c940ed42540649f8a0c89888d0e9352f38f0a8b3.tar.gz |
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: Janne Grunau <janne-ffmpeg@jannau.net>
(cherry picked from commit a3dffc0627dfd85f8b1a72b9b637938dfa197208)
Diffstat (limited to 'libavformat/mxf.c')
-rw-r--r-- | libavformat/mxf.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/libavformat/mxf.c b/libavformat/mxf.c index c7423b0b62..643a95243a 100644 --- a/libavformat/mxf.c +++ b/libavformat/mxf.c @@ -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 }, }; -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 * |