[FFmpeg-soc] [soc]: r2972 - mxf/mxfenc.c
spyfeng
subversion at mplayerhq.hu
Fri Aug 1 17:38:29 CEST 2008
Author: spyfeng
Date: Fri Aug 1 17:38:29 2008
New Revision: 2972
Log:
remove useless function pointer.
Modified:
mxf/mxfenc.c
Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c (original)
+++ mxf/mxfenc.c Fri Aug 1 17:38:29 2008
@@ -903,8 +903,7 @@ static int mxf_build_structural_metadata
if (type == SourcePackage) {
for (desc = mxf_descriptor_read_table; desc->write; desc++) {
if (s->streams[i]->codec->codec_id == desc->type) {
- int (*write)() = desc->write;
- if (write(s, desc, i) < 0) {
+ if (desc->write(s, desc, i) < 0) {
av_log(s, AV_LOG_ERROR, "error writing descriptor\n");
return -1;
}
More information about the FFmpeg-soc
mailing list