Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

encoder: signed vs unsigned warning

  • Loading branch information...
commit 3d2b0a89f937baa0fd8ce984fd90f2ba496f9c6c 1 parent 2357c01
@elupus elupus authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  xbmc/cdrip/EncoderFFmpeg.cpp
View
2  xbmc/cdrip/EncoderFFmpeg.cpp
@@ -229,7 +229,7 @@ bool CEncoderFFmpeg::WriteFrame()
m_Pkt.data = outbuf;
m_Pkt.size = encoded;
- if (m_CodecCtx->coded_frame && (uint64_t)m_CodecCtx->coded_frame->pts != AV_NOPTS_VALUE)
+ if (m_CodecCtx->coded_frame && m_CodecCtx->coded_frame->pts != AV_NOPTS_VALUE)
m_Pkt.pts = m_dllAvUtil.av_rescale_q(m_CodecCtx->coded_frame->pts, m_Stream->time_base, m_CodecCtx->time_base);
if (m_dllAvFormat.av_write_frame(m_Format, &m_Pkt) < 0) {

0 comments on commit 3d2b0a8

Please sign in to comment.
Something went wrong with that request. Please try again.