History

mcdec: suppress "warning: a/vst may be used uninitialized in this function"

Michael Niedermayer committed 13 years ago

Commit 70d5cd11 parent e9c4f361 file · +1 −1Browse files

Unified · Split

libavformat/mvdec.c+1−1
@@ -229,7 +229,7 @@ static int mv_read_header(AVFormatContext *avctx) · 228 unmodified lines
229229 {
230230 MvContext *mv = avctx->priv_data;
231231 AVIOContext *pb = avctx->pb;
232− AVStream *ast, *vst;
232+ AVStream *ast = NULL, *vst = NULL; //initialization to suppress warning
233233 int version, i;
234234
235235 avio_skip(pb, 4);

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t