[FFmpeg-soc] [soc]: r3459 - mxf/mxfenc.c
spyfeng
subversion at mplayerhq.hu
Tue Aug 19 17:19:50 CEST 2008
Author: spyfeng
Date: Tue Aug 19 17:19:50 2008
New Revision: 3459
Log:
remove "goto" expression
Modified:
mxf/mxfenc.c
Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c (original)
+++ mxf/mxfenc.c Tue Aug 19 17:19:50 2008
@@ -897,14 +897,13 @@ static int mux_write_footer(AVFormatCont
ByteIOContext *pb = s->pb;
int64_t byte_position= url_ftell(pb);
- if (url_is_streamed(s->pb))
- goto end;
- mxf_write_partition(s, byte_position, 0, footer_partition_key);
+ if (!url_is_streamed(s->pb)) {
+ mxf_write_partition(s, byte_position, 0, footer_partition_key);
- put_flush_packet(pb);
+ put_flush_packet(pb);
- mxf_update_header_partition(s, byte_position);
-end:
+ mxf_update_header_partition(s, byte_position);
+ }
mxf_free(s);
return 0;
}
More information about the FFmpeg-soc
mailing list