impoved still picture

This commit is contained in:
jojo61
2018-10-16 16:09:37 +02:00
parent 5f5facba9d
commit dd793f24e8
2 changed files with 9 additions and 7 deletions

View File

@@ -2703,7 +2703,7 @@ void StillPicture(const uint8_t * data, int size)
#ifdef STILL_DEBUG
fprintf(stderr, "still-picture\n");
#endif
for (i = 0; i < (MyVideoStream->CodecID == AV_CODEC_ID_HEVC ? 8 : 8); ++i) {
for (i = 0; i < (MyVideoStream->CodecID == AV_CODEC_ID_HEVC ? 8 : 12); ++i) {
const uint8_t *split;
int n;