#endif
s->closed_gop = get_bits1(&s->gb);
- /* broken_link indicate that after editing the
+ /* broken_link indicates that after editing the
* reference frames of the first B-Frames after GOP I-Frame
* are missing (open gop) */
broken_link = get_bits1(&s->gb);
avctx->extradata, avctx->extradata_size);
if (*got_output) {
av_log(avctx, AV_LOG_ERROR, "picture in extradata\n");
+ av_frame_unref(picture);
*got_output = 0;
}
s->extradata_decoded = 1;