/src/avc.h

https://code.google.com/ · C++ Header · 42 lines · 13 code · 6 blank · 23 comment · 0 complexity · f954d13179aedd21a8f15bd7b6f4bd1e MD5 · raw file

  1. /*
  2. $Id: avc.h 231 2011-06-27 13:46:19Z marc.noirot $
  3. FLV Metadata updater
  4. Copyright (C) 2007-2012 Marc Noirot <marc.noirot AT gmail.com>
  5. This file is part of FLVMeta.
  6. FLVMeta is free software; you can redistribute it and/or modify
  7. it under the terms of the GNU General Public License as published by
  8. the Free Software Foundation; either version 2 of the License, or
  9. (at your option) any later version.
  10. FLVMeta is distributed in the hope that it will be useful,
  11. but WITHOUT ANY WARRANTY; without even the implied warranty of
  12. MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  13. GNU General Public License for more details.
  14. You should have received a copy of the GNU General Public License
  15. along with FLVMeta; if not, write to the Free Software
  16. Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
  17. */
  18. #ifndef __AVC_H__
  19. #define __AVC_H__
  20. #include <stdio.h>
  21. #include "types.h"
  22. #include "flv.h"
  23. #ifdef __cplusplus
  24. extern "C" {
  25. #endif /* __cplusplus */
  26. int read_avc_resolution(flv_stream * f, uint32 body_length, uint32 * width, uint32 * height);
  27. #ifdef __cplusplus
  28. }
  29. #endif /* __cplusplus */
  30. #endif /* __AVC_H__ */