diff options
author | Tuomas Virtanen <katajakasa@gmail.com> | 2018-03-26 04:13:37 +0300 |
---|---|---|
committer | Tuomas Virtanen <katajakasa@gmail.com> | 2018-03-26 04:13:37 +0300 |
commit | 8bdc67e490f38d645ad6bbd230c9e16d8eba4099 (patch) | |
tree | 7f0d4f3120721439fb17dc2d673b580d2a5cce34 | |
parent | 176a33ef7c50c51d6c86400b635d4e7bb132f968 (diff) |
More compiler warning cleanups
-rw-r--r-- | include/kitchensink/internal/subtitle/kitsubtitlepacket.h | 2 | ||||
-rw-r--r-- | src/internal/kitdecoder.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/include/kitchensink/internal/subtitle/kitsubtitlepacket.h b/include/kitchensink/internal/subtitle/kitsubtitlepacket.h index 989cde7..e3ae4e4 100644 --- a/include/kitchensink/internal/subtitle/kitsubtitlepacket.h +++ b/include/kitchensink/internal/subtitle/kitsubtitlepacket.h @@ -1,7 +1,7 @@ #ifndef KITSUBTITLEPACKET_H
#define KITSUBTITLEPACKET_H
-#include <SDL2/SDL_Surface.h>
+#include <SDL2/SDL_surface.h>
typedef struct Kit_SubtitlePacket {
double pts_start;
diff --git a/src/internal/kitdecoder.c b/src/internal/kitdecoder.c index 7691fc8..555c54f 100644 --- a/src/internal/kitdecoder.c +++ b/src/internal/kitdecoder.c @@ -194,7 +194,7 @@ int Kit_RunDecoder(Kit_Decoder *dec) { if(dec == NULL) return 0;
AVPacket *in_packet;
- int is_output_full;
+ int is_output_full = 1;
int ret;
// First, check if there is room in output buffer
|