solve ccpcheck complaints

This commit is contained in:
Isaac Connor 2022-01-07 23:14:22 -05:00
parent af8964c043
commit c832fabafd
2 changed files with 2 additions and 4 deletions

View File

@ -31,8 +31,7 @@ int FFmpeg_Input::Open(
const AVStream * audio_in_stream,
const AVCodecContext * audio_in_ctx
) {
video_stream_id = video_in_stream->index;
int max_stream_index = video_in_stream->index;
int max_stream_index = video_stream_id = video_in_stream->index;
if ( audio_in_stream ) {
max_stream_index = video_in_stream->index > audio_in_stream->index ? video_in_stream->index : audio_in_stream->index;

View File

@ -28,7 +28,6 @@ class FifoStream : public StreamBase {
std::string stream_path;
int total_read;
int bytes_read;
unsigned int frame_count;
protected:
typedef enum { UNKNOWN, MJPEG, RAW } StreamType;
@ -39,9 +38,9 @@ class FifoStream : public StreamBase {
public:
FifoStream() :
StreamBase(),
total_read(0),
bytes_read(0),
frame_count(0),
stream_type(UNKNOWN)
{}