diff mbox

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

Message ID 20180309142427.12140-1-jamrial@gmail.com
State Accepted
Commit c4cee261296c917c605ead5edbfb452f2aa86d92
Headers show

Commit Message

James Almer March 9, 2018, 2:24 p.m. UTC
Signed-off-by: James Almer <jamrial@gmail.com>
---
 libavformat/mov.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Derek Buitenhuis March 9, 2018, 3:13 p.m. UTC | #1
On 3/9/2018 2:24 PM, James Almer wrote:
> Signed-off-by: James Almer <jamrial@gmail.com>
> ---
>  libavformat/mov.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

OK.

- Derek
James Almer March 9, 2018, 3:18 p.m. UTC | #2
On 3/9/2018 12:13 PM, Derek Buitenhuis wrote:
> On 3/9/2018 2:24 PM, James Almer wrote:
>> Signed-off-by: James Almer <jamrial@gmail.com>
>> ---
>>  libavformat/mov.c | 2 +-
>>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> OK.
> 
> - Derek

Pushed, thanks.
diff mbox

Patch

diff --git a/libavformat/mov.c b/libavformat/mov.c
index 7002a82787..82b9aa1a90 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;
     }