Skip to content
Snippets Groups Projects
Commit 2f84f40d authored by Wan-Teh Chang's avatar Wan-Teh Chang Committed by Muhammad Faiz
Browse files

avformat/avio: Remove no-op code in url_find_protocol().


In url_find_protocol(), proto_str is either "file" or a string
consisting of only the characters in URL_SCHEME_CHARS, which does not
include ','. Therefore the strchr(proto_str, ',') call always returns
NULL.

Note: The code was added in commit
6161c418.

Signed-off-by: default avatarWan-Teh Chang <wtc@google.com>
Signed-off-by: default avatarMuhammad Faiz <mfcc64@gmail.com>
parent b406f387
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment