Commit bf55a30a authored by bcoudurier's avatar bcoudurier

do not print error message when klv_read_packet fails

git-svn-id: file:///var/local/repositories/ffmpeg/trunk@9186 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 3f9eabce
...@@ -336,10 +336,8 @@ static int mxf_read_packet(AVFormatContext *s, AVPacket *pkt) ...@@ -336,10 +336,8 @@ static int mxf_read_packet(AVFormatContext *s, AVPacket *pkt)
KLVPacket klv; KLVPacket klv;
while (!url_feof(&s->pb)) { while (!url_feof(&s->pb)) {
if (klv_read_packet(&klv, &s->pb) < 0) { if (klv_read_packet(&klv, &s->pb) < 0)
av_log(s, AV_LOG_ERROR, "error reading KLV packet\n");
return -1; return -1;
}
#ifdef DEBUG #ifdef DEBUG
PRINT_KEY(s, "read packet", klv.key); PRINT_KEY(s, "read packet", klv.key);
#endif #endif
...@@ -944,10 +942,8 @@ static int mxf_read_header(AVFormatContext *s, AVFormatParameters *ap) ...@@ -944,10 +942,8 @@ static int mxf_read_header(AVFormatContext *s, AVFormatParameters *ap)
while (!url_feof(&s->pb)) { while (!url_feof(&s->pb)) {
const MXFMetadataReadTableEntry *metadata; const MXFMetadataReadTableEntry *metadata;
if (klv_read_packet(&klv, &s->pb) < 0) { if (klv_read_packet(&klv, &s->pb) < 0)
av_log(s, AV_LOG_ERROR, "error reading KLV packet\n");
return -1; return -1;
}
#ifdef DEBUG #ifdef DEBUG
PRINT_KEY(s, "read header", klv.key); PRINT_KEY(s, "read header", klv.key);
#endif #endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment