Initialize `layout_map` on declaration

Bug: 1119532,1119331
Test: Tested with the repro case
Change-Id: I7d39a6f4bb5eb2ea57b43d12f9f2c313caf118b9
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/third_party/ffmpeg/+/2376894
Reviewed-by: Dan Sanders <sandersd@chromium.org>
Reviewed-by: Dale Curtis <dalecurtis@chromium.org>
2 files changed
tree: f0991d9bc0b9c4eaec5c150e34558f2adb7de520
  1. chromium/
  2. compat/
  3. doc/
  4. ffbuild/
  5. fftools/
  6. libavcodec/
  7. libavdevice/
  8. libavfilter/
  9. libavformat/
  10. libavresample/
  11. libavutil/
  12. libpostproc/
  13. libswresample/
  14. libswscale/
  15. presets/
  16. tests/
  17. tools/
  18. .gitattributes
  19. .gitignore
  20. .mailmap
  21. .travis.yml
  22. BUILD.gn
  23. Changelog
  24. codereview.settings
  25. configure
  26. CONTRIBUTING.md
  27. COPYING.GPLv2
  28. COPYING.GPLv3
  29. COPYING.LGPLv2.1
  30. COPYING.LGPLv3
  31. CREDITS
  32. CREDITS.chromium
  33. ffmpeg_generated.gni
  34. ffmpeg_options.gni
  35. INSTALL.md
  36. LICENSE.md
  37. MAINTAINERS
  38. Makefile
  39. OWNERS
  40. PRESUBMIT.py
  41. README.chromium
  42. README.md
  43. RELEASE
README.md

FFmpeg README

FFmpeg is a collection of libraries and tools to process multimedia content such as audio, video, subtitles and related metadata.

Libraries

  • libavcodec provides implementation of a wider range of codecs.
  • libavformat implements streaming protocols, container formats and basic I/O access.
  • libavutil includes hashers, decompressors and miscellaneous utility functions.
  • libavfilter provides a mean to alter decoded Audio and Video through chain of filters.
  • libavdevice provides an abstraction to access capture and playback devices.
  • libswresample implements audio mixing and resampling routines.
  • libswscale implements color conversion and scaling routines.

Tools

  • ffmpeg is a command line toolbox to manipulate, convert and stream multimedia content.
  • ffplay is a minimalistic multimedia player.
  • ffprobe is a simple analysis tool to inspect multimedia content.
  • Additional small tools such as aviocat, ismindex and qt-faststart.

Documentation

The offline documentation is available in the doc/ directory.

The online documentation is available in the main website and in the wiki.

Examples

Coding examples are available in the doc/examples directory.

License

FFmpeg codebase is mainly LGPL-licensed with optional components licensed under GPL. Please refer to the LICENSE file for detailed information.

Contributing

Patches should be submitted to the ffmpeg-devel mailing list using git format-patch or git send-email. Github pull requests should be avoided because they are not part of our review process and will be ignored.