OSDN Git Service
(root)
/
coroid
/
libav_saccubus.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
063e769
)
handler can be NULL if we did not support this dynamic format (codec).
author
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 7 Jan 2010 23:05:19 +0000
(23:05 +0000)
committer
Ronald S. Bultje
<rsbultje@gmail.com>
Thu, 7 Jan 2010 23:05:19 +0000
(23:05 +0000)
Fixes issue 1658 (the crasher), although the format itself is obviously
still unsupported.
Originally committed as revision 21078 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/rdt.c
patch
|
blob
|
history
diff --git
a/libavformat/rdt.c
b/libavformat/rdt.c
index
24ee6a9
..
fa909e6
100644
(file)
--- a/
libavformat/rdt.c
+++ b/
libavformat/rdt.c
@@
-67,7
+67,7
@@
ff_rdt_parse_open(AVFormatContext *ic, int first_stream_of_set_idx,
s->prev_set_id = -1;
s->prev_stream_id = -1;
s->prev_timestamp = -1;
- s->parse_packet = handler
->parse_packet
;
+ s->parse_packet = handler
? handler->parse_packet : NULL
;
s->dynamic_protocol_context = priv_data;
return s;