|
@@ -20,7 +20,7 @@
|
|
|
*/
|
|
*/
|
|
|
|
|
|
|
|
#include "libavutil/intreadwrite.h"
|
|
#include "libavutil/intreadwrite.h"
|
|
|
-#include "libavutil/intfloat_readwrite.h"
|
|
|
|
|
|
|
+#include "libavutil/intfloat.h"
|
|
|
#include "libavutil/imgutils.h"
|
|
#include "libavutil/imgutils.h"
|
|
|
#include "bytestream.h"
|
|
#include "bytestream.h"
|
|
|
#include "avcodec.h"
|
|
#include "avcodec.h"
|
|
@@ -151,7 +151,7 @@ static int decode_frame(AVCodecContext *avctx,
|
|
|
buf = avpkt->data + 1724;
|
|
buf = avpkt->data + 1724;
|
|
|
i = read32(&buf, endian);
|
|
i = read32(&buf, endian);
|
|
|
if(i) {
|
|
if(i) {
|
|
|
- AVRational q = av_d2q(av_int2flt(i), 4096);
|
|
|
|
|
|
|
+ AVRational q = av_d2q(av_int2float(i), 4096);
|
|
|
if (q.num > 0 && q.den > 0)
|
|
if (q.num > 0 && q.den > 0)
|
|
|
avctx->time_base = av_inv_q(q);
|
|
avctx->time_base = av_inv_q(q);
|
|
|
}
|
|
}
|