Skip to content

Commit 6075104

Browse files
committed
refactor(hlsstream): fix http error code usage
Signed-off-by: pingkai <pingkai010@gmail.com>
1 parent cde8f98 commit 6075104

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

framework/demuxer/play_list/HLSStream.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -946,7 +946,7 @@ namespace Cicada {
946946
return -EAGAIN;
947947
}
948948

949-
if (ret == network_errno_http_range) {
949+
if (ret == gen_framework_errno(error_class_network, network_errno_http_range)) {
950950
ret = 0;
951951
}
952952

0 commit comments

Comments
 (0)