Browse Source

Support writing 2d float arrays.

Patch by Michael Kostylev, michael D kostylev A gmail

Originally committed as revision 23105 to svn://svn.ffmpeg.org/ffmpeg/trunk
(cherry picked from commit 56b37cd1c7)

Unbreaks compilation since the HE-AAC v2 backport
Signed-off-by: Reinhard Tartler <siretart@tauware.de>
tags/ffmpeg-0.6.3
Michael Kostylev Reinhard Tartler 15 years ago
parent
commit
b4eafa8b04
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      libavcodec/tableprint.c
  2. +1
    -0
      libavcodec/tableprint.h

+ 1
- 0
libavcodec/tableprint.c View File

@@ -33,6 +33,7 @@ WRITE_1D_FUNC(float, float, "%.18e", 3)
WRITE_2D_FUNC(int8, int8_t)
WRITE_2D_FUNC(uint8, uint8_t)
WRITE_2D_FUNC(uint32, uint32_t)
WRITE_2D_FUNC(float, float)

void write_fileheader(void) {
printf("/* This file was generated by libavcodec/tableprint */\n");


+ 1
- 0
libavcodec/tableprint.h View File

@@ -66,6 +66,7 @@ void write_float_array (const float *, int);
void write_int8_2d_array (const void *, int, int);
void write_uint8_2d_array (const void *, int, int);
void write_uint32_2d_array(const void *, int, int);
void write_float_2d_array (const void *, int, int);
/** \} */ // end of printfuncs group

/** Write a standard file header */


Loading…
Cancel
Save