mån 2018-12-17 klockan 21:56 -0300 skrev James Almer: > This will be needed by the eventual native AV1 decoder. > > +static int av1_frame_split_filter(AVBSFContext *ctx, AVPacket *out) > +{ > + AV1FSplitContext *s = ctx->priv_data; > + CodedBitstreamFragment *td = &s->temporal_unit; > + int i, ret; > + int split = !!s->buffer_pkt->data; > + > + if (!s->buffer_pkt->data) {
I was going to comment that !split might be better, but on the other hand this makes it clear that data == NULL Don't know enough about BSFs or AV1 to comment much else on this /Tomas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel