History

avformat/electronicarts: change non failure return of read_header() to 0

This matches the documentation, but makes no functional difference

Michael Niedermayer committed 6 years ago

Commit 6a2df7c1 parent 39a98621 file · +2 −2Browse files

Unified · Split

libavformat/electronicarts.c+2−2
@@ -561,14 +561,14 @@ static int ea_read_header(AVFormatContext *s) · 560 unmodified lines
561561 st->codecpar->bits_per_coded_sample;
562562 ea->audio_stream_index = st->index;
563563 st->start_time = 0;
564− return 1;
564+ return 0;
565565 }
566566 no_audio:
567567 ea->audio_codec = AV_CODEC_ID_NONE;
568568
569569 if (!ea->video.codec)
570570 return AVERROR_INVALIDDATA;
571− return 1;
571+ return 0;
572572 }
573573
574574 static int ea_read_packet(AVFormatContext *s, AVPacket *pkt)

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