[FFmpeg-devel] [PATCH] ffplay: rename temporary variable pts in audio_decode_frame()

Stefano Sabatini stefasab at gmail.com
Sun Feb 3 12:33:48 CET 2013


On date Saturday 2013-02-02 22:20:41 +0100, Marton Balint encoded:
> 
> 
> On Sat, 2 Feb 2013, Stefano Sabatini wrote:
> 
> >On date Saturday 2013-02-02 16:17:11 +0100, Stefano Sabatini encoded:
> >>Also rename variable pts to pts_time.
> >
> >s/rename/remove/ in the subject.
> >
> >>---
> >> ffplay.c |   16 +++++++---------
> >> 1 file changed, 7 insertions(+), 9 deletions(-)
> 
> Unless I am missing something, the pts_time (former pts_ptr) output
> of audio_decode_frame is not used anywhere, so why not remove the
> whole pts_ptr, pts or pts_time variables from both
> sdl_audio_callback and audio_decode_frame?

Up.
-- 
FFmpeg = Frightening and Free Most Peaceless Exuberant Generator
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ffplay-remove-pts_ptr-argument-from-audio_decode_fra.patch
Type: text/x-diff
Size: 2171 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130203/64ef7439/attachment.bin>


More information about the ffmpeg-devel mailing list