diff --git a/libavformat/avformat.h b/libavformat/avformat.h index 8774b7366a..4888105319 100644 --- a/libavformat/avformat.h +++ b/libavformat/avformat.h @@ -522,7 +522,7 @@ typedef struct AVFormatContext { */ unsigned int max_picture_buffer; - int nb_chapters; + unsigned int nb_chapters; AVChapter **chapters; } AVFormatContext;