return;
}
- if (same) {
+ if (same && _last_real_frame) {
/* Use the last frame that we encoded */
- assert (_last_real_frame);
link (_opt->frame_out_path (_last_real_frame.get(), false), _opt->frame_out_path (_video_frame, false));
link (_opt->hash_out_path (_last_real_frame.get(), false), _opt->hash_out_path (_video_frame, false));
} else {