Unified · Split
| @@ -28,7 +28,7 @@ · 27 unmodified lines | |||
| 28 | 28 | ||
| 29 | #define ASSERT_LEVEL 2 | 29 | #define ASSERT_LEVEL 2 |
| 30 | 30 | ||
| 31 | static double get(const uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f){ | 31 | static double get(uint8_t *a[], int ch, int index, int ch_count, enum AVSampleFormat f){ |
| 32 | const uint8_t *p; | 32 | const uint8_t *p; |
| 33 | if(av_sample_fmt_is_planar(f)){ | 33 | if(av_sample_fmt_is_planar(f)){ |
| 34 | f= av_get_alt_sample_fmt(f, 0); | 34 | f= av_get_alt_sample_fmt(f, 0); |