Skip to content
Snippets Groups Projects

Issue #415 : Changed ambigiuous function name

Closed Chandrashekar Iyer requested to merge shekar007/dav1d:415 into master

old function name : picture_alloc_with_edges to new function name : alloc_properties_to_picture_with_edges

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
  • :) This patch mis-understands the context of the afore-mentioned bug report. The issue is that the picture has no edges. The allocation is also done without edges. Therefore, "alloc_picture_with_edges()" is misleading. It should just be called "alloc_picture()".

    The fact that a picture has properties or metadata associated with it is not really relevant, they're just an implementation detail. It's common for pictures to have properties and/or metadata associated with it. AVFrame in FFmpeg has side-data, and a picture without width/height/pixfmt would be entirely useless.

  • And please don't change the indentation. Your coding style changes are not consistent with the coding style.

  • Ronald S. Bultje requested review from @rbultje

    requested review from @rbultje

  • As for git commits: the first line should not be that you changed something, but what you changed. E.g.: "picture.c: rename alloc_picture_with_edges() to alloc_picture()". The body can then refer to the bug report where this was mentioned so people reading history have context. This way, people scanning the output of "git log --oneline" (or the web-variant thereof) know what the patch changed, not just that it changed something.

  • added 2 commits

    • ef0fb0b6 - 1 commit from branch videolan:master
    • 0ccfc334 - changed ambiguous function name

    Compare with previous version

  • Superseeded by !1585 (merged).

Please register or sign in to reply
Loading