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:
5068bcd
)
oggenc: fix "oggstream may be used uninitialized in this function" warning
author
Michael Niedermayer
<michaelni@gmx.at>
Tue, 29 Jan 2013 14:57:15 +0000
(15:57 +0100)
committer
Michael Niedermayer
<michaelni@gmx.at>
Tue, 29 Jan 2013 14:57:42 +0000
(15:57 +0100)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/oggenc.c
patch
|
blob
|
history
diff --git
a/libavformat/oggenc.c
b/libavformat/oggenc.c
index
31e2841
..
3d4519c
100644
(file)
--- a/
libavformat/oggenc.c
+++ b/
libavformat/oggenc.c
@@
-402,7
+402,7
@@
static int ogg_build_opus_headers(AVCodecContext *avctx,
static int ogg_write_header(AVFormatContext *s)
{
OGGContext *ogg = s->priv_data;
- OGGStreamContext *oggstream;
+ OGGStreamContext *oggstream
= NULL
;
int i, j;
if (ogg->pref_size)