OSDN Git Service
(root)
/
android-x86
/
external-ffmpeg.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24db666
)
avformat/rtpdec_qt: Fix 'warning: passing argument 2 of ffio_init_context discards...
author
Michael Niedermayer
<michaelni@gmx.at>
Mon, 8 Sep 2014 14:55:57 +0000
(16:55 +0200)
committer
Michael Niedermayer
<michaelni@gmx.at>
Mon, 8 Sep 2014 14:56:19 +0000
(16:56 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/rtpdec_qt.c
patch
|
blob
|
history
diff --git
a/libavformat/rtpdec_qt.c
b/libavformat/rtpdec_qt.c
index
ee8a48a
..
58253b6
100644
(file)
--- a/
libavformat/rtpdec_qt.c
+++ b/
libavformat/rtpdec_qt.c
@@
-71,7
+71,7
@@
static int qt_rtp_parse_packet(AVFormatContext *s, PayloadContext *qt,
* http://developer.apple.com/quicktime/icefloe/dispatch026.html
*/
init_get_bits(&gb, buf, len << 3);
- ffio_init_context(&pb, buf, len, 0, NULL, NULL, NULL, NULL);
+ ffio_init_context(&pb,
(uint8_t*)
buf, len, 0, NULL, NULL, NULL, NULL);
if (len < 4)
return AVERROR_INVALIDDATA;