libeplayer3-arm: reduce compiler warnings

This commit is contained in:
max_10
2018-02-08 20:42:15 +01:00
committed by Thilo Graf
parent 0bd3f48ff2
commit e5d24ce4ed
22 changed files with 105 additions and 87 deletions

View File

@@ -290,7 +290,7 @@ int image_to_mpeg2(const char *image_name, int fd)
uint8_t endcode[] = { 0, 0, 1, 0xb7 };
write_all(fd,endcode, sizeof(endcode));
}
av_free_packet(&packet);
av_packet_unref(&packet);
}
avcodec_close(codecContext);
}