ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | Sun Oct 9 07:09:08 2022 +0200| [e934fd96c1d21591122b4faf398e6fdf3d4945c3] | committer: Andreas Rheinhardt
avcodec/snow: Remove outdated assert It comes from a time before frames were refcounted; it has indeed been added in a follow-up commit to c13e490dce1a66d79e1f053d8a38fb9b2eb53267: "codec_release_buffer: fix handling of non user buffers". This type of check is obsolete now. Signed-off-by: Andreas Rheinhardt <andreas.rheinha...@outlook.com> > http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e934fd96c1d21591122b4faf398e6fdf3d4945c3 --- libavcodec/snow.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/libavcodec/snow.c b/libavcodec/snow.c index af6214d077..7998ee27f7 100644 --- a/libavcodec/snow.c +++ b/libavcodec/snow.c @@ -566,9 +566,6 @@ av_cold void ff_snow_common_end(SnowContext *s) av_freep(&s->emu_edge_buffer); for(i=0; i<MAX_REF_FRAMES; i++){ - if(s->last_picture[i] && s->last_picture[i]->data[0]) { - av_assert0(s->last_picture[i]->data[0] != s->current_picture->data[0]); - } av_frame_free(&s->last_picture[i]); } _______________________________________________ ffmpeg-cvslog mailing list ffmpeg-cvslog@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog To unsubscribe, visit link above, or email ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".