On 20/05/15 03:09, Vittorio Giovara wrote: > --- > libavcodec/libtheoraenc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/libavcodec/libtheoraenc.c b/libavcodec/libtheoraenc.c > index 462bc94..3781043 100644 > --- a/libavcodec/libtheoraenc.c > +++ b/libavcodec/libtheoraenc.c > @@ -343,7 +343,7 @@ static int encode_frame(AVCodecContext* avc_context, > AVPacket *pkt, > // multithreaded (which will be disabled unless explicitly requested) > pkt->pts = pkt->dts = frame->pts; > avc_context->coded_frame->key_frame = !(o_packet.granulepos & > h->keyframe_mask); > - if (avc_context->coded_frame->key_frame) > + if (!(o_packet.granulepos & h->keyframe_mask)) > pkt->flags |= AV_PKT_FLAG_KEY; > *got_packet = 1; > > Doesn't hurt. _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
- [libav-devel] [PATCH 00/13] coded_frame v2 Vittorio Giovara
- [libav-devel] [PATCH 02/13] Drop a few peculiar usag... Vittorio Giovara
- Re: [libav-devel] [PATCH 02/13] Drop a few pecul... Diego Biurrun
- Re: [libav-devel] [PATCH 02/13] Drop a few p... Vittorio Giovara
- [libav-devel] [PATCH 08/13] libtheoraenc: Keep coded... Vittorio Giovara
- Re: [libav-devel] [PATCH 08/13] libtheoraenc: Ke... Luca Barbato
- [libav-devel] [PATCH 06/13] svq1enc: Do not entangle... Vittorio Giovara
- Re: [libav-devel] [PATCH 06/13] svq1enc: Do not ... Luca Barbato
- [libav-devel] [PATCH 13/13] Deprecate avctx.coded_fr... Vittorio Giovara
- Re: [libav-devel] [PATCH 13/13] Deprecate avctx.... Luca Barbato
- [libav-devel] [PATCH 10/13] lavc: Gather all coded_f... Vittorio Giovara
- Re: [libav-devel] [PATCH 10/13] lavc: Gather all... Luca Barbato
- [libav-devel] [PATCH 05/13] proresenc: Do not entang... Vittorio Giovara
- Re: [libav-devel] [PATCH 05/13] proresenc: Do no... Luca Barbato
- [libav-devel] [PATCH 07/13] ffv1enc: Keep coded_fram... Vittorio Giovara
- Re: [libav-devel] [PATCH 07/13] ffv1enc: Keep co... Luca Barbato
