James Almer: > On 2/20/2024 10:37 AM, Andreas Rheinhardt wrote: >>> @@ -7862,7 +8087,7 @@ static int avif_write_trailer(AVFormatContext *s) >>> // write extent offsets. >>> pos_backup = avio_tell(pb); >>> - for (i = 0; i < s->nb_streams; i++) { >>> + for (i = 0; i < mov->nb_streams; i++) { >> Can you use loop-scope for all the iterators that you touch where >> possible, please? > > Can you elaborate?
Use "for (int i = 0;" when you already touch the line (where possible). - Andreas _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".