[FFmpeg-trac] #2282(avformat:open): Failed seeks lead to undefined behavior
FFmpeg
trac at avcodec.org
Sat Mar 16 02:57:17 CET 2013
#2282: Failed seeks lead to undefined behavior
------------------------------------+------------------------------------
Reporter: gjdfgh | Owner:
Type: defect | Status: open
Priority: normal | Component: avformat
Version: git-master | Resolution:
Keywords: flac | Blocked By:
Blocking: | Reproduced by developer: 1
Analyzed by developer: 0 |
------------------------------------+------------------------------------
Comment (by DonMoir):
I see the same thing with an mp3 file. Also got error while seeking with
flac using ffplay. In my own app both seem fine but using older build for
that.
Here's result of mp3 and banging on the right arrow.
{{{
ffplay d:\flashfiles\audio\rabbit.mp3
ffplay version N-50911-g9efcfbe Copyright (c) 2003-2013 the FFmpeg
developers
built on Mar 13 2013 21:29:22 with gcc 4.7.2 (GCC)
configuration: --disable-static --enable-shared --enable-gpl --enable-
version3
--disable-w32threads --enable-avisynth --enable-bzlib --enable-fontconfig
--ena
ble-frei0r --enable-gnutls --enable-libass --enable-libbluray --enable-
libcaca -
-enable-libfreetype --enable-libgsm --enable-libilbc --enable-libmp3lame
--enabl
e-libopencore-amrnb --enable-libopencore-amrwb --enable-libopenjpeg
--enable-lib
opus --enable-librtmp --enable-libschroedinger --enable-libsoxr --enable-
libspee
x --enable-libtheora --enable-libtwolame --enable-libvo-aacenc --enable-
libvo-am
rwbenc --enable-libvorbis --enable-libvpx --enable-libx264 --enable-
libxavs --en
able-libxvid --enable-zlib
libavutil 52. 19.100 / 52. 19.100
libavcodec 55. 0.100 / 55. 0.100
libavformat 55. 0.100 / 55. 0.100
libavdevice 54. 4.100 / 54. 4.100
libavfilter 3. 45.103 / 3. 45.103
libswscale 2. 2.100 / 2. 2.100
libswresample 0. 17.102 / 0. 17.102
libpostproc 52. 2.100 / 52. 2.100
[mp3 @ 00b45720] max_analyze_duration 5000000 reached at 5015510
microseconds
[mp3 @ 00b45720] Estimating duration from bitrate, this may be inaccurate
Input #0, mp3, from 'd:\flashfiles\audio\rabbit.mp3':
Metadata:
track : 10
TLEN : 153106
artist : jefferson airplane
album : surrealistic pillow
title : white rabbit
date : 1967
Duration: 00:02:33.05, start: 0.000000, bitrate: 256 kb/s
Stream #0:0: Audio: mp3, 44100 Hz, stereo, s16p, 256 kb/s
d:\flashfiles\audio\rabbit.mp3: error while seekingq= 0B f=0/0
d:\nanf lA-ashfV:i l0.es\audio\rabbit.mp3: error while seeking000 fd
d:\flashfiles\audio\rabbit.mp3: error while seekingq= 0B f=0/0
nan A-V: 0.000 fd= 0 aq= 0KB vq= 0KB sq= 0B f=0/0
}}}
--
Ticket URL: <https://ffmpeg.org/trac/ffmpeg/ticket/2282#comment:7>
FFmpeg <http://ffmpeg.org>
FFmpeg issue tracker
More information about the FFmpeg-trac
mailing list