[FFmpeg-trac] #879(avformat:new): mxf files without FooterPartition
FFmpeg
trac at avcodec.org
Thu Jan 5 01:55:29 CET 2012
#879: mxf files without FooterPartition
------------------------------------+------------------------------------
Reporter: zhukov | Owner:
Type: defect | Status: new
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: mxf | Blocked By:
Blocking: | Reproduced by developer: 0
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by zhukov):
{{{
diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
index 10512ef..43f247a 100644
--- a/libavformat/mxfdec.c
+++ b/libavformat/mxfdec.c
@@ -464,7 +464,7 @@ static int mxf_read_partition_pack(void *arg,
AVIOContext *pb, int tag, int size
avio_read(pb, op, sizeof(UID));
/* some files don'thave FooterPartition set in every partition */
- if (footer_partition) {
+ if (footer_partition != 4294967296) {
if (mxf->footer_partition && mxf->footer_partition !=
footer_partition) {
av_log(mxf->fc, AV_LOG_ERROR, "inconsistent FooterPartition
value: %" PRIi64 " != %" PRIi64 "\n",
mxf->footer_partition, footer_partition);
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/879#comment:1>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list