Skip to content
This repository
Browse code

encoder: signed vs unsigned warning

  • Loading branch information...
commit 3d2b0a89f937baa0fd8ce984fd90f2ba496f9c6c 1 parent 2357c01
Joakim Plate authored April 11, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  xbmc/cdrip/EncoderFFmpeg.cpp
2  xbmc/cdrip/EncoderFFmpeg.cpp
@@ -229,7 +229,7 @@ bool CEncoderFFmpeg::WriteFrame()
229 229
   m_Pkt.data = outbuf;
230 230
   m_Pkt.size = encoded;
231 231
 
232  
-  if (m_CodecCtx->coded_frame && (uint64_t)m_CodecCtx->coded_frame->pts != AV_NOPTS_VALUE)
  232
+  if (m_CodecCtx->coded_frame && m_CodecCtx->coded_frame->pts != AV_NOPTS_VALUE)
233 233
     m_Pkt.pts = m_dllAvUtil.av_rescale_q(m_CodecCtx->coded_frame->pts, m_Stream->time_base, m_CodecCtx->time_base);
234 234
 
235 235
   if (m_dllAvFormat.av_write_frame(m_Format, &m_Pkt) < 0) {

0 notes on commit 3d2b0a8

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