Skip to content

Commit

Permalink
nit
Browse files Browse the repository at this point in the history
Result type doesn't need to be opencv::Result when we use a boxed error anyway
  • Loading branch information
tidely authored and twistedfall committed Sep 16, 2024
1 parent 8bb9f43 commit 61d1931
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion examples/video_capture_http_stream.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ use opencv::videoio::VideoCaptureTrait;
use opencv::core::{Mat, Vector};
use opencv::imgcodecs::{imencode, IMWRITE_JPEG_QUALITY};
use opencv::videoio::{VideoCapture, VideoCaptureTraitConst, CAP_ANY};
use opencv::Result;

const BASE_RESPONSE: &[u8] = b"HTTP/1.1 200 OK\r\nContent-Type: multipart/x-mixed-replace; boundary=frame\r\n\r\n";

Expand Down

0 comments on commit 61d1931

Please sign in to comment.