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
229{229{
230 MvContext *mv = avctx->priv_data;230 MvContext *mv = avctx->priv_data;
231 AVIOContext *pb = avctx->pb;231 AVIOContext *pb = avctx->pb;
232 AVStream *ast, *vst;232 AVStream *ast = NULL, *vst = NULL; //initialization to suppress warning
233 int version, i;233 int version, i;
234 234
235 avio_skip(pb, 4);235 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