mirror of
https://github.com/tuxbox-neutrino/libstb-hal.git
synced 2025-08-26 23:13:16 +02:00
- libeplayer3: sync with max_10
This commit is contained in:
@@ -5,7 +5,6 @@
|
||||
|
||||
#include "flv2mpeg4/flv2mpeg4.h"
|
||||
|
||||
|
||||
typedef struct
|
||||
{
|
||||
flv2mpeg4_CTX *ctx;
|
||||
@@ -16,7 +15,6 @@ typedef struct
|
||||
Track_t *track;
|
||||
} Flv2Mpeg4Context;
|
||||
|
||||
|
||||
static int flv2mpeg4_context_write_packet_cb(void *usr_data, int keyframe __attribute__((unused)), int pts __attribute__((unused)), const uint8_t *buf, int size)
|
||||
{
|
||||
Flv2Mpeg4Context *ctx = usr_data;
|
||||
@@ -26,7 +24,7 @@ static int flv2mpeg4_context_write_packet_cb(void *usr_data, int keyframe __attr
|
||||
}
|
||||
|
||||
AudioVideoOut_t avOut;
|
||||
avOut.data = (char *)buf;
|
||||
avOut.data = (unsigned char *)buf;
|
||||
avOut.len = size;
|
||||
avOut.pts = ctx->track->pts;
|
||||
avOut.dts = ctx->track->dts;
|
||||
|
Reference in New Issue
Block a user