It compiles file, but I get a segfault at like 55, as GDB says :/
gduarte@mohave:~/dev/test_camera$ gdb ./t1
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html
>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /home/gduarte/dev/test_camera/t1...done.
(gdb) r
Starting program: /home/gduarte/dev/test_camera/t1
[Thread debugging using libthread_db enabled]
[video4linux2 @ 0x6132a0] The driver changed the time per frame from
32767/-9288 to 1/30
Abertura retornou 0
[video4linux2 @ 0x6132a0] Estimating duration from bitrate, this may be
inaccurate

Program received signal SIGSEGV, Segmentation fault.
0x0000000000400ffc in main (argc=1, argv=0x7fffffffde08) at t1.c:55
55        if (pIFormatCtx->streams[ix]->codec->codec_type ==
AVMEDIA_TYPE_VIDEO) {
(gdb) bt
#0  0x0000000000400ffc in main (argc=1, argv=0x7fffffffde08) at t1.c:55
(gdb)





On Thu, Dec 1, 2011 at 2:24 AM, Gabriel Duarte <[email protected]> wrote:

> It's ok, I'm Brasilian, so I can understand portuguese, I think.. :)
> Obrigado!
>
>
> On Thu, Dec 1, 2011 at 1:50 AM, Leandro Santiago <
> [email protected]> wrote:
>
>> Here is a simple example I use to test my webcam.
>>
>> http://pastebin.com/Wjn7k5C3
>>
>> There are some comments in portuguese, but I think it's understandable
>>
>> 2011/11/29 Gabriel Duarte <[email protected]>:
>> > advance
>>
>>
>>
>> --
>> Atenciosamente,
>> Leandro
>> _______________________________________________
>> Libav-user mailing list
>> [email protected]
>> http://ffmpeg.org/mailman/listinfo/libav-user
>>
>
>
>
> --
> Gabriel Duarte
> Linux User #471185
> France / Grenoble - Rhône Alpes
> http://genericdev.wordpress.com/
>
>


-- 
Gabriel Duarte
Linux User #471185
France / Grenoble - Rhône Alpes
http://genericdev.wordpress.com/
_______________________________________________
Libav-user mailing list
[email protected]
http://ffmpeg.org/mailman/listinfo/libav-user

Reply via email to