Lines 28-34
Link Here
|
28 |
#include "ebml.h" |
28 |
#include "ebml.h" |
29 |
#include "libavutil/common.h" |
29 |
#include "libavutil/common.h" |
30 |
#include "mpbswap.h" |
30 |
#include "mpbswap.h" |
31 |
#include "libavutil/intfloat_readwrite.h" |
31 |
#include "libavutil/intfloat.h" |
32 |
|
32 |
|
33 |
|
33 |
|
34 |
#ifndef SIZE_MAX |
34 |
#ifndef SIZE_MAX |
Lines 185-195
Link Here
|
185 |
len = ebml_read_length(s, &l); |
185 |
len = ebml_read_length(s, &l); |
186 |
switch (len) { |
186 |
switch (len) { |
187 |
case 4: |
187 |
case 4: |
188 |
value = av_int2flt(stream_read_dword(s)); |
188 |
value = av_int2float(stream_read_dword(s)); |
189 |
break; |
189 |
break; |
190 |
|
190 |
|
191 |
case 8: |
191 |
case 8: |
192 |
value = av_int2dbl(stream_read_qword(s)); |
192 |
value = av_int2double(stream_read_qword(s)); |
193 |
break; |
193 |
break; |
194 |
|
194 |
|
195 |
default: |
195 |
default: |