Inform the user about unhandled sectors.
authorMichael Niedermayer <michaelni@gmx.at>
Thu, 26 Jun 2008 23:05:21 +0000 (23:05 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Thu, 26 Jun 2008 23:05:21 +0000 (23:05 +0000)
Originally committed as revision 14004 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavformat/psxstr.c

index c158bb4..eede5c5 100644 (file)
@@ -230,6 +230,7 @@ static int str_read_packet(AVFormatContext *s,
                 return 0;
             break;
         default:
+            av_log(s, AV_LOG_WARNING, "Unknown sector type %02X\n", sector[0x12]);
             /* drop the sector and move on */
             break;
         }