Skip to content

Commit

Permalink
fix return code of ParseFrameForSPS
Browse files Browse the repository at this point in the history
inputstream.adaptive.5c9c7f2/lib/libbento4/Codecs/Ap4AvcParser.cpp:968:1: warning: control reaches end of non-void function [-Wreturn-type]

Signed-off-by: Olaf Hering <olaf@aepfle.de>
  • Loading branch information
olafhering authored and peak3d committed May 11, 2019
1 parent d029148 commit ec13716
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/libbento4/Codecs/Ap4AvcParser.cpp
Expand Up @@ -965,6 +965,7 @@ AP4_Result AP4_AvcFrameParser::ParseFrameForSPS(const AP4_Byte* data, AP4_Size d
return ParseSPS(data, data_size, sps);
data_size -= nalSize;
}
return AP4_SUCCESS;
}

/*----------------------------------------------------------------------
Expand Down

0 comments on commit ec13716

Please sign in to comment.