fixed StillPicture for h265

This commit is contained in:
jojo61 2018-12-15 11:56:56 +01:00
parent 6787d9601b
commit 24f679e1d3
1 changed files with 1 additions and 1 deletions

View File

@ -2705,7 +2705,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 ? 10 : 8); ++i) {
const uint8_t *split;
int n;