[FFmpeg-cvslog] avformat/mov: print the projection type when reporting it as unsupported

James Almer git at videolan.org
Fri Mar 9 17:18:32 EET 2018


ffmpeg | branch: master | James Almer <jamrial at gmail.com> | Fri Mar  9 11:23:23 2018 -0300| [c4cee261296c917c605ead5edbfb452f2aa86d92] | committer: James Almer

avformat/mov: print the projection type when reporting it as unsupported

Reviewed-by: Derek Buitenhuis <derek.buitenhuis at gmail.com>
Signed-off-by: James Almer <jamrial at gmail.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c4cee261296c917c605ead5edbfb452f2aa86d92
---

 libavformat/mov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mov.c b/libavformat/mov.c
index ab03a99dc3..39c2179dcd 100644
--- a/libavformat/mov.c
+++ b/libavformat/mov.c
@@ -5454,7 +5454,7 @@ static int mov_read_sv3d(MOVContext *c, AVIOContext *pb, MOVAtom atom)
             projection = AV_SPHERICAL_EQUIRECTANGULAR;
         break;
     default:
-        av_log(c->fc, AV_LOG_ERROR, "Unknown projection type\n");
+        av_log(c->fc, AV_LOG_ERROR, "Unknown projection type: %s\n", av_fourcc2str(tag));
         return 0;
     }
 



More information about the ffmpeg-cvslog mailing list