mbox

[FFmpeg-devel,v1,0/2] libavformat/protocols.c: avio_enum_protocols(): Cleanup

Message ID 657ab02a0fd94501bf90590d3ee9696e@gmail.com
Headers show

Message

Michael Witten Aug. 20, 2021, 5:45 p.m. UTC
This series improves the following function:

  libavformat/protocols.c: avio_enum_protocols()

There are only 2 commits:

  [1] Quash warning about const-correctness
  [2] Refactoring

This series is a revision of a previous series; for this revision:

  * The patch [3] ("Add functions to the API") was removed.
  * The tiny refactoring patches were squashed together as patch [2].
  * "for(" was replaced with "for (".

Here are the overall changes:

  libavformat/avio.h      |  2 +-
  libavformat/protocols.c | 38 +++++++++++++++++++++++++++-----------
  2 files changed, 28 insertions(+), 12 deletions(-)

Sincerely,
Michael Witten