projects
/
platform
/
upstream
/
libav.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dfaed51
)
oggdec: Check that we have a codec in gptopts (needed for skeleton)
author
David Conrad
<lessen42@gmail.com>
Thu, 11 Mar 2010 07:17:36 +0000
(07:17 +0000)
committer
David Conrad
<lessen42@gmail.com>
Thu, 11 Mar 2010 07:17:36 +0000
(07:17 +0000)
Originally committed as revision 22456 to svn://svn.ffmpeg.org/ffmpeg/trunk
libavformat/oggdec.h
patch
|
blob
|
history
diff --git
a/libavformat/oggdec.h
b/libavformat/oggdec.h
index
aa6e899
..
170455a
100644
(file)
--- a/
libavformat/oggdec.h
+++ b/
libavformat/oggdec.h
@@
-134,7
+134,7
@@
ogg_gptopts (AVFormatContext * s, int i, uint64_t gp, int64_t *dts)
struct ogg_stream *os = ogg->streams + i;
uint64_t pts = AV_NOPTS_VALUE;
- if(os->codec->gptopts){
+ if(os->codec
&& os->codec
->gptopts){
pts = os->codec->gptopts(s, i, gp, dts);
} else {
pts = gp;