1. 05 Oct, 2015 1 commit
    • Ganesh Ajjanagadde's avatar
      avutil/attributes: add av_warn_unused_result · 1d4af04a
      Ganesh Ajjanagadde authored
      GCC 3.4 introduced an attribute warn_unused_result to warn when a programmer
      discards the return value. Applying this judiciously across the codebase can help
      in fixing a lot of problems. At a high level, functions which return error codes
      should always be checked. More concretely, consider the functions ff_add_format
      and the like in avfilter/formats.h. A quick examination shows that a large portion
      of libavfilter fails to handle the associated errors, usually AVERROR(ENOMEM).
      The above example was where I observed the utility of this, but it should be
      useful in many places across the code base.
      Signed-off-by: 's avatarGanesh Ajjanagadde <gajjanagadde@gmail.com>
      Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
      1d4af04a
  2. 18 Sep, 2015 1 commit
  3. 16 Feb, 2015 1 commit
  4. 03 Nov, 2013 1 commit
  5. 21 Sep, 2013 1 commit
  6. 20 Sep, 2013 2 commits
  7. 06 Sep, 2013 1 commit
  8. 16 Jul, 2012 1 commit
  9. 03 Jul, 2012 2 commits
  10. 30 Jun, 2012 1 commit
  11. 17 Jun, 2012 2 commits
  12. 15 Jun, 2012 2 commits
  13. 11 Nov, 2011 1 commit
  14. 25 Sep, 2011 1 commit
  15. 23 Jun, 2011 1 commit
  16. 23 Mar, 2011 1 commit
  17. 19 Mar, 2011 1 commit
  18. 02 Mar, 2011 1 commit
  19. 31 Jan, 2011 2 commits
  20. 10 Nov, 2010 1 commit
  21. 13 May, 2010 1 commit
  22. 20 Apr, 2010 1 commit
  23. 02 Apr, 2010 1 commit
  24. 08 Mar, 2010 1 commit