On 14/09/17 05:35, James Almer wrote: > On 9/7/2017 6:56 PM, Mark Thompson wrote: >> + pkt->data = (uint8_t*)frame; >> + pkt->size = sizeof(*frame); >> + pkt->pts = now; >> + pkt->flags = AV_PKT_FLAG_TRUSTED; > > pkt->flags |= AV_PKT_FLAG_TRUSTED; > > I know pkt->flags is zeroed by default, but that may change in the > future. And ORing/XORing is the proper way to set flags anyway.
Fixed. Thanks! - Mark _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel