On 02/11/2017 15:03, James Almer wrote:
track->video.projection.type is 0 by default, and is the value set by the
demuxer for files without the element.
Signed-off-by: James Almer <[email protected]>
---
libavformat/matroskadec.c | 3 ---
1 file changed, 3 deletions(-)
diff --git a/libavformat/matroskadec.c b/libavformat/matroskadec.c
index c6e1a190a8..5ed03bb642 100644
--- a/libavformat/matroskadec.c
+++ b/libavformat/matroskadec.c
@@ -1659,9 +1659,6 @@ static int mkv_parse_video_projection(AVStream *st, const
MatroskaTrack *track)
}
break;
default:
- av_log(NULL, AV_LOG_WARNING,
- "Unknown spherical metadata type %"PRIu64"\n",
- track->video.projection.type);
return 0;
}
not sure if would be overkill add a
0: return 0; // nothing to do
or such.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel