diff options
author | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-08-31 02:55:13 +0000 |
---|---|---|
committer | Baptiste Coudurier <baptiste.coudurier@gmail.com> | 2008-08-31 02:55:13 +0000 |
commit | c5a209129557129b6a78a28946e66b45cc3b1f91 (patch) | |
tree | 026c4d755e0aa02f8794e26cce870d7de3ec6124 | |
parent | 4e2f346bd10f7ce77aa97cb92f45ec1cb5f82147 (diff) | |
download | ffmpeg-c5a209129557129b6a78a28946e66b45cc3b1f91.tar.gz |
10l fix mxf_get_essence_container_ul
Originally committed as revision 15098 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/mxfenc.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/libavformat/mxfenc.c b/libavformat/mxfenc.c index bca65349c5..8eb8547f36 100644 --- a/libavformat/mxfenc.c +++ b/libavformat/mxfenc.c @@ -204,11 +204,10 @@ static int klv_encode_ber_length(ByteIOContext *pb, uint64_t len) */ static const UID *mxf_get_essence_container_ul(enum CodecID type, int *index) { - const MXFContainerEssencePair *uls = mxf_essence_container_uls; for (*index = 0; *index < sizeof(mxf_essence_container_uls)/ sizeof(*mxf_essence_container_uls); (*index)++) if (mxf_essence_container_uls[*index].id == type) - return &uls->container_ul; + return &mxf_essence_container_uls[*index].container_ul; *index = -1; return NULL; } |