Re: [linux-programming] Error saat compile source C dengan library ffmpeg

2011-10-10 Terurut Topik Rin Itoshiki
On 10/10/2011 10:48 AM, Johannes Sasongko wrote: SwsContext* ScalerCtx=sws_getContext(pCodecCtx-width, pCodecCtx-height, pCodecCtx-pix_fmt, pCodecCtx-width*0.75, pCodecCtx-height*0.75, PIX_FMT_RGB24, SWS_BILINEAR, 0, 0, 0); Itu seharusnya `struct SwsContext`, bukan `SwsContext`. Ooh

Re: [linux-programming] Error saat compile source C dengan library ffmpeg

2011-10-10 Terurut Topik Donny Kurnia
On 10 Okt 2011, at 13:03, Rin Itoshiki zetsuri...@gmail.com wrote: On 10/10/2011 10:48 AM, Johannes Sasongko wrote: SwsContext* ScalerCtx=sws_getContext(pCodecCtx-width, pCodecCtx-height, pCodecCtx-pix_fmt, pCodecCtx-width*0.75, pCodecCtx-height*0.75, PIX_FMT_RGB24, SWS_BILINEAR, 0, 0, 0);

Re: [linux-programming] Error saat compile source C dengan library ffmpeg

2011-10-10 Terurut Topik Iwan Budi Kusnanto
2011/10/10 Rin Itoshiki zetsuri...@gmail.com: Ternyata letak masalahnya karena kebiasaan saya memakai typedef struct, biasanya variable bisa di-declare tanpa perlu menulis 'struct' di depan tipenya. FYI http://www.kernel.org/doc/Documentation/CodingStyle Lihat chapter 5 tentang 'typedef'

Re: [linux-programming] Kesulitan untuk command history dalam bash script

2011-10-10 Terurut Topik ahn njung
On 10/10/11, Yoza Linux azoy.li...@gmail.com wrote: Siang RR, Saya kebetulan ingin membuat sebuah shell script (.sh) yang mampu memfilter dan menampilkan history command (memanfaatkan command history di bash), karena akan saya gabungkan dengan operasi lain. baris skrip saya seperti ini