]> git.sesse.net Git - ffmpeg/blobdiff - libavcodec/png_parser.c
qsvdec: only access hwaccel_context is the pixel format is QSV
[ffmpeg] / libavcodec / png_parser.c
index d07f288c4ba5aead5b67d51557808be288fce91f..c66caf31a37218dbc45cf6145a3aa1445395d570 100644 (file)
@@ -36,7 +36,7 @@ typedef struct PNGParseContext {
     ParseContext pc;
 
     int chunk_pos;          ///< position inside current chunk
-    int chunk_length;       ///< length of the current chunk
+    uint32_t chunk_length;  ///< length of the current chunk
     int remaining_size;     ///< remaining size of the current chunk
 } PNGParseContext;