Skip to content

Minor code cleanups

Alan Coopersmith requested to merge alanc/libxv:cleanup into master
  • Use calloc instead of malloc and manual loops to zero array contents
  • XvQueryEncodings: avoid NULL deref if length is 0, but num_encodings is not
  • XvQueryAdaptors: avoid NULL deref if length is 0, but num_adaptors is not

Merge request reports

Loading