diff options
Diffstat (limited to 'libavformat/rdt.c')
-rw-r--r-- | libavformat/rdt.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libavformat/rdt.c b/libavformat/rdt.c index 8baceca153..303a2a8145 100644 --- a/libavformat/rdt.c +++ b/libavformat/rdt.c @@ -337,8 +337,9 @@ get_cache: int ff_rdt_parse_packet(RDTDemuxContext *s, AVPacket *pkt, - const uint8_t *buf, int len) + uint8_t **bufptr, int len) { + uint8_t *buf = bufptr ? *bufptr : NULL; int seq_no, flags = 0, stream_id, set_id, is_keyframe; uint32_t timestamp; int rv= 0; |