We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c871f2b commit 0754296Copy full SHA for 0754296
1 file changed
pl_mpeg.h
@@ -3098,6 +3098,14 @@ void plm_video_decode_picture(plm_video_t *self) {
3098
self->start_code = plm_buffer_next_start_code(self->buffer);
3099
}
3100
3101
+ // Predict skipped macroblocks after the last slice
3102
+ while (self->macroblock_address < self->mb_size - 1 ) {
3103
+ self->macroblock_address++;
3104
+ self->mb_row = self->macroblock_address / self->mb_width;
3105
+ self->mb_col = self->macroblock_address % self->mb_width;
3106
+ plm_video_predict_macroblock(self);
3107
+ }
3108
+
3109
// If this is a reference picture rotate the prediction pointers
3110
if (
3111
self->picture_type == PLM_VIDEO_PICTURE_TYPE_INTRA ||
0 commit comments