diff --git a/bebop_driver/src/bebop_video_decoder.cpp b/bebop_driver/src/bebop_video_decoder.cpp index 63f0a82..52b7544 100644 --- a/bebop_driver/src/bebop_video_decoder.cpp +++ b/bebop_driver/src/bebop_video_decoder.cpp @@ -128,7 +128,7 @@ bool VideoDecoder::ReallocateBuffers() try { - ThrowOnCondition(codec_ctx_ptr_->width == 0 || codec_ctx_ptr_->width == 0, + ThrowOnCondition(codec_ctx_ptr_->width == 0 || codec_ctx_ptr_->height == 0, std::string("Invalid frame size:") + boost::lexical_cast(codec_ctx_ptr_->width) + " x " + boost::lexical_cast(codec_ctx_ptr_->width));